Class: kb.Statistics

Defined in: src/core/statistics.coffee

Class Method Summary

Instance Method Summary

Class Method Details

. (void) eventsStats(obj, key)

Constructor Details

# (void) constructor()

Instance Method Details

# (void) clear()

Clear the tracked model events (but keep the registered objects intact)

# (void) addModelEvent(event)

Register a model event

# (void) modelEventsStatsString()

A debug helper to summarize the registered events in human-readable form

# (void) register(key, obj)

Register an object by key

# (void) unregister(key, obj)

Unregister an object by key

# (Integer) registeredCount(type)

Returns:

  • ( Integer ) — the number of registered objects by type

# (String) registeredStatsString(success_message)

A debug helper to summarize the current registered objects by key

Parameters:

  • success_message ( String ) a message to return if there are no registered objects

Returns:

  • ( String ) — a human readable string summarizing the currently registered objects or success_message

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: