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.04MB] [CPU: ▼11.32ms] Passed 4 tests
An overview of server-side resources used by Canto Clients
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.75 ▼2.64 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.68 ▼15.64 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 42.92 ▼1.05 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 79.39 ▼25.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.97 ▲0.97 |
Clients /wp-admin/edit.php?post_type=clients | 3.32 | 36.28 |
Add New Clients /wp-admin/post-new.php?post_type=clients | 3.32 | 39.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Canto Clients: 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,830 ▲84 | 13.18 ▼1.20 | 1.75 ▼0.15 | 40.07 ▼9.90 |
Dashboard /wp-admin | 2,233 ▲45 | 5.81 ▲0.91 | 94.69 ▼16.55 | 39.62 ▼2.15 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.99 ▼0.05 | 33.75 ▼8.42 | 35.34 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,556 ▲11 | 22.96 ▲4.81 | 652.67 ▲34.49 | 54.33 ▲0.76 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.20 ▲0.03 | 93.56 ▼3.12 | 39.18 ▼3.39 |
Clients /wp-admin/edit.php?post_type=clients | 1,080 | 1.95 | 29.39 | 30.52 |
Add New Clients /wp-admin/post-new.php?post_type=clients | 1,604 | 3.50 | 70.18 | 36.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 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 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 have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/canto-clients/canto-clients.php:13
- > PHP Fatal error
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 97% 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
Please fix the following attributes:
- Donate link: Invalid URI found ("")
canto-clients/canto-clients.php Passed 13 tests
The main file in "Canto Clients" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
53 characters long description:
Canto Clients simple and effective clients shortcode.
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
Success! There were no dangerous files found in this plugin158 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 47 | 132 |
CSS | 1 | 0 | 0 | 15 |
JavaScript | 1 | 0 | 10 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected