Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.93MB] [CPU: ▼55.61ms] Passed 4 tests
An overview of server-side resources used by One Thousand Nine Hundred and Ninety-Nineify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.80 ▼33.63 |
Dashboard /wp-admin | 2.09 ▼1.25 | 5.83 ▼55.63 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 5.37 ▼42.14 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.35 ▼91.03 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.83 ▼30.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 9 new options
New WordPress options |
---|
onek99ify_stats |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_onek99ify_email |
db_upgraded |
widget_recent-posts |
widget_onek99ify_stats |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for One Thousand Nine Hundred and Ninety-Nineify
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.28 ▼0.07 | 1.66 ▼0.29 | 45.23 ▲9.18 |
Dashboard /wp-admin | 2,195 ▲15 | 5.60 ▼0.06 | 88.35 ▲0.30 | 36.70 ▼1.15 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.95 ▼0.06 | 40.28 ▲3.37 | 34.08 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 18.61 ▲0.43 | 638.20 ▲23.42 | 83.94 ▲16.07 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.21 ▲0.02 | 103.74 ▲1.83 | 82.68 ▲40.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/one-thousand-nine-hundred-and-ninety-nineify/includes/class-onek99ify-stats.php+37
Non-static method OneK99ify_Stats::init() should not be called statically
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_onek99ify_email
- widget_onek99ify_stats
- db_upgraded
- onek99ify_stats
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: wcoc plugin-a-palooza 2018, awesome, web 10, definetly a real plugin, 1999...
one-thousand-nine-hundred-and-ninety-nineify/onekninetynineify.php 85% from 13 tests
The main file in "One Thousand Nine Hundred and Ninety-Nineify" v. 0.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("one-thousand-nine-hundred-and-ninety-nineify.php" instead of "onekninetynineify.php")
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
No dangerous file extensions were detected627 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 142 | 240 | 435 |
CSS | 4 | 12 | 4 | 101 |
JavaScript | 6 | 64 | 100 | 76 |
Markdown | 1 | 9 | 0 | 15 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 28 | 90.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.68% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin