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.00MB] [CPU: ▼6.58ms] Passed 4 tests
An overview of server-side resources used by Swiss 5-cent Rounding
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.83 ▲1.32 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.34 ▼4.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.31 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.17 ▼19.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.05 ▼1.57 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Swiss 5-cent Rounding
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.56 ▼1.03 | 1.71 ▲0.16 | 44.76 ▲5.15 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼1.04 | 102.17 ▼0.76 | 40.08 ▼5.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 34.49 ▼7.16 | 35.40 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.39 ▲5.18 | 584.29 ▼45.74 | 47.44 ▼4.03 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.03 | 93.71 ▼4.42 | 42.12 ▼2.05 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Donate link: Invalid URI ("")
swiss-5-cent-rounding/swiss-5-cent-rounding.php 92% from 13 tests
The primary PHP file in "Swiss 5-cent Rounding" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "2.6")
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 detected183 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 92 | 139 |
PO File | 1 | 12 | 12 | 44 |
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.34 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 15 | |
▷ Static methods | 6 | 40.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected