Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.69MB] [CPU: ▼48.36ms] Passed 4 tests
Analyzing server-side resources used by Cumulonimbus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 10.41 ▼34.10 |
Dashboard /wp-admin | 2.31 ▼0.99 | 12.36 ▼38.45 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 10.31 ▼42.33 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.57 | 12.70 ▼78.54 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 11.05 ▼26.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cumulonimbus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.03 | 1.70 ▼0.13 | 40.05 ▼4.86 |
Dashboard /wp-admin | 2,209 ▲21 | 4.83 ▼0.08 | 102.96 ▼16.92 | 39.55 ▼4.00 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.04 ▲0.05 | 33.77 ▼6.92 | 40.72 ▲5.38 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.19 ▲5.56 | 675.27 ▲11.38 | 70.80 ▲18.57 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.16 ▼0.03 | 100.16 ▼3.43 | 43.64 ▼4.18 |
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
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/cumulonimbus/cumulonimbus.php+187
Use of undefined constant cumulonibus_widget - assumed 'cumulonibus_widget' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cumulonimbus/cumulonimbus.php:192
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: tags, sidebar, widget
cumulonimbus/cumulonimbus.php Passed 13 tests
"Cumulonimbus" version 0.20's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
88 characters long description:
Cumulonimbus allows you to display your site's tags on the surface of a rotating sphere.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin417 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 74 | 18 | 271 |
PHP | 1 | 28 | 20 | 146 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected