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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.70ms] Passed 4 tests
Server-side resources used by Kledo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.18 ▼2.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.85 ▼6.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.85 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.59 ▼11.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.55 ▲1.41 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Kledo: 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,809 ▲74 | 13.25 ▼1.15 | 4.37 ▲2.64 | 44.37 ▲2.82 |
Dashboard /wp-admin | 2,215 ▲24 | 5.88 ▲0.93 | 107.31 ▼0.37 | 39.84 ▼1.01 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.04 | 40.72 ▲2.15 | 38.81 ▲4.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.38 ▲5.85 | 652.99 ▼34.15 | 51.45 ▼20.21 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.26 ▼0.05 | 96.32 ▼4.22 | 40.62 ▼2.28 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Requires php: Version format is invalid
kledo/kledo.php 77% from 13 tests
Analyzing the main PHP file in "Kledo" version 1.1.5
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 162 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("4.4" instead of "3.5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected2,157 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 559 | 1,829 | 1,740 |
PO File | 2 | 107 | 144 | 305 |
JavaScript | 1 | 12 | 18 | 71 |
CSS | 1 | 9 | 4 | 41 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 2 | 10.00% |
▷ Concrete classes | 18 | 90.00% |
▷ Final classes | 1 | 5.56% |
Methods | 169 | |
▷ Static methods | 5 | 2.96% |
▷ Public methods | 126 | 74.56% |
▷ Protected methods | 13 | 7.69% |
▷ Private methods | 30 | 17.75% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 39 | |
▷ Global constants | 12 | 30.77% |
▷ Class constants | 27 | 69.23% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin