Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▼5.81ms] Passed 4 tests
Server-side resources used by XMPP Statistics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 40.29 ▼7.10 |
Dashboard /wp-admin | 3.78 ▲0.47 | 45.86 ▼4.32 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 48.30 ▲4.85 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.51 | 87.48 ▼15.60 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 37.41 ▲3.79 |
XMPP Statistics /wp-admin/options-general.php?page=xmpp-statistics | 3.64 | 35.37 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for XMPP Statistics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.19 ▼1.18 | 1.87 ▼0.21 | 39.44 ▼6.67 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.69 | 95.14 ▼13.28 | 43.21 ▼4.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 39.04 ▼0.42 | 35.67 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,522 ▼11 | 23.42 ▼0.14 | 659.95 ▲58.55 | 50.65 ▼5.20 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.09 | 97.60 ▼6.63 | 41.80 ▼5.44 |
XMPP Statistics /wp-admin/options-general.php?page=xmpp-statistics | 1,668 | 2.79 | 63.61 | 35.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=xmpp-statistics
- > Notice in wp-content/plugins/xmpp-statistics/includes/settings.php+109
Undefined index: settings-updated
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: jabber, ejabberd, xmpp
xmpp-statistics/xmpp-statistics.php Passed 13 tests
The entry point to "XMPP Statistics" version 1.10 is a PHP file that has certain tags in its header comment area
67 characters long description:
Displays the statistics from ejabberd XMPP server through REST API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6,616 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 917 | 825 | 4,363 |
PHP | 7 | 106 | 550 | 2,211 |
CSS | 2 | 0 | 0 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin