nitmetrics: correct typo from `reciever` to `receiver`
authorAlexandre Terrasa <alexandre@moz-code.org>
Sat, 1 Feb 2014 04:56:08 +0000 (23:56 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 25 Feb 2014 18:48:13 +0000 (13:48 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/metrics/nullables_metrics.nit
tests/sav/nitc/nitmetrics_args1.res
tests/sav/nitmetrics_args1.res

index ec647ea..d788260 100644 (file)
@@ -76,7 +76,7 @@ end
 # Visit the AST and print metrics about the usage of send on nullable reciever.
 fun compute_nullables_metrics(modelbuilder: ModelBuilder)
 do
-       print "--- Sends on Nullable Reciever ---"
+       print "--- Sends on Nullable Receiver ---"
        var total_sends = 0
        var nullable_sends = 0
        var buggy_sends = 0
index 0b58c6f..b20321b 100644 (file)
@@ -241,7 +241,7 @@ Number of dead method definitions of live methods: 0
 --- Explicit vs. Implicit Self ---
 Total number of self: 5
 Total number of implicit self: 4 (80.00%)
---- Sends on Nullable Reciever ---
+--- Sends on Nullable Receiver ---
 Total number of sends: 19
 Number of sends on a nullable receiver: 0 (0.0%)
 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)
index a773cd8..08d6846 100644 (file)
@@ -339,7 +339,7 @@ Statistics of type usage:
   C: 1 (11.11%)
   B: 1 (11.11%)
   A: 1 (11.11%)
---- Sends on Nullable Reciever ---
+--- Sends on Nullable Receiver ---
 Total number of sends: 19
 Number of sends on a nullable receiver: 0 (0.0%)
 Number of buggy sends (cannot determine the type of the receiver): 0 (0.0%)