Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.53ms] Passed 4 tests
An overview of server-side resources used by Reckoning
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 49.99 ▲8.19 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.82 ▼2.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.87 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.74 ▼14.85 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.04 ▲1.12 |
User Summary /wp-admin/users.php?page=Reckoning | 3.28 | 31.39 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Reckoning
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.21 ▼1.18 | 2.20 ▲0.56 | 45.85 ▲6.38 |
Dashboard /wp-admin | 2,212 ▲24 | 4.83 ▼1.07 | 111.16 ▼14.99 | 38.32 ▼6.97 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.04 | 41.79 ▲4.49 | 35.38 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 22.96 ▲4.55 | 635.61 ▲7.04 | 53.37 ▼10.23 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.20 ▲0.05 | 95.56 ▼3.54 | 42.63 ▼1.80 |
User Summary /wp-admin/users.php?page=Reckoning | 680 | 1.53 | 6.20 | 21.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- 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
Smoke test failed, please fix the following
- > GET request to /wp-admin/users.php?page=Reckoning
- > Error in wp-content/plugins/reckoning/reckoning.php+206
Uncaught Error: Call to undefined function get_blog_details() in wp-content/plugins/reckoning/reckoning.php:206
Stack trace:
#0 wp-content/plugins/reckoning/reckoning.php(81): display_reckoning_admin_page_all()
#1 wp-includes/class-wp-hook.php(310): display_reckoning_admin_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/users.php(11): require_once('/var/www/wordpr...')
#6 {main}
thrown
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: comments, reckoning, education, teaching, tools...
reckoning/reckoning.php Passed 13 tests
This is the main PHP file of "Reckoning" version 2.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
Tallies posts / comments per user per blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin236 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 24 | 83 | 199 |
CSS | 1 | 4 | 3 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.27MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 73.38KB | 22.91KB | ▼ 68.78% |
assets/screenshot-5.png | 44.39KB | 12.90KB | ▼ 70.95% |
assets/screenshot-3.png | 27.62KB | 7.33KB | ▼ 73.46% |
assets/screenshot-1.png | 68.51KB | 20.29KB | ▼ 70.38% |
assets/screenshot-4.png | 29.02KB | 8.27KB | ▼ 71.51% |