Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.88ms] Passed 4 tests
Server-side resources used by HTML5 Cumulus
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 48.38 ▲3.12 |
Dashboard /wp-admin | 3.46 ▲0.12 | 53.87 ▼16.22 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 54.12 ▼2.11 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 97.00 ▲3.70 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 43.32 ▲6.74 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_html5_cumulus |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
h5c_options |
Browser metrics Passed 4 tests
HTML5 Cumulus: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.85 ▼0.70 | 9.34 ▲7.75 | 47.21 ▲8.99 |
Dashboard /wp-admin | 2,199 ▲22 | 5.52 ▼0.07 | 87.00 ▼14.68 | 39.92 ▼5.25 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.07 ▲0.11 | 38.69 ▼1.41 | 35.30 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.04 ▼5.40 | 623.12 ▼47.91 | 66.40 ▲8.12 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.00 | 101.16 ▼9.31 | 44.05 ▼3.53 |
HTML5 Cumulus /wp-admin/html5-cumulus.php | 26 | 0.42 | 0.09 | 14.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_html5_cumulus
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just 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/html5-cumulus/html5-cumulus.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/html5-cumulus.php
- > Network (severe)
wp-admin/html5-cumulus.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
html5-cumulus/html5-cumulus.php Passed 13 tests
The main PHP script in "HTML5 Cumulus" version 1.01 is automatically included on every request by WordPress
58 characters long description:
A modern (HTML5) version of the classic WP-Cumulus plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,297 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 88 | 70 | 685 |
JavaScript | 4 | 89 | 47 | 388 |
CSS | 2 | 6 | 9 | 224 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon_coffee.png | 5.14KB | 5.32KB | 0.00% |