Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.20ms] Passed 4 tests
An overview of server-side resources used by ClickDesigns
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 41.70 ▼1.98 |
Dashboard /wp-admin | 3.56 ▲0.25 | 51.07 ▼8.08 |
Posts /wp-admin/edit.php | 3.68 ▲0.31 | 50.45 ▲3.79 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 86.75 ▼6.51 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 37.12 ▲4.64 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for ClickDesigns
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,303 ▲541 | 16.34 ▲2.00 | 24.44 ▲22.66 | 36.44 ▼7.76 |
Dashboard /wp-admin | 2,357 ▲176 | 6.19 ▲0.52 | 112.92 ▲10.36 | 112.66 ▲68.34 |
Posts /wp-admin/edit.php | 2,285 ▲182 | 3.69 ▲1.68 | 53.22 ▲13.40 | 65.79 ▲26.81 |
Add New Post /wp-admin/post-new.php | 1,703 ▲173 | 22.59 ▼0.33 | 669.35 ▲0.50 | 37.17 ▼14.41 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.24 ▲0.05 | 85.93 ▼12.09 | 104.98 ▲62.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/clickdesigns/includes/clickdesigns-stetting-page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 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
7 plugin tags: product bundles, covers, logos, reports, boxshots...
clickdesigns/clickdesigns.php 85% from 13 tests
The main PHP script in "ClickDesigns" version 1.7.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)
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
Good job! No executable or dangerous file extensions detected9,559 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 5 | 1 | 7,539 |
PHP | 7 | 68 | 192 | 939 |
CSS | 3 | 1 | 44 | 754 |
JavaScript | 3 | 23 | 25 | 327 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 5.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ClickDesigns-Logo.png | 2.49KB | 2.49KB | 0.04% |
assets/images/ClickDesigns-Logo-small.png | 8.08KB | 3.33KB | ▼ 58.78% |