Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.65ms] Passed 4 tests
An overview of server-side resources used by Easy Category Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.70 ▼1.22 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.76 ▼16.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.78 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.30 ▼5.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 40.00 ▲4.99 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Category Cloud
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.34 ▲0.06 | 1.85 ▼0.23 | 43.66 ▼2.61 |
Dashboard /wp-admin | 2,198 ▲34 | 5.62 ▲0.08 | 92.97 ▼5.88 | 39.19 ▼0.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.09 | 39.94 ▲4.23 | 37.25 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.12 ▼0.13 | 696.04 ▲9.45 | 55.55 ▼2.84 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.15 ▲0.04 | 99.71 ▼1.04 | 46.18 ▲1.52 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-category-cloud/easy-category-cloud.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-category-cloud/easy-category-cloud.php:13
- > PHP Warning
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
- Screenshots: These screenshots require images: #1 (It shows the default view of 'Easy Category Cloud' enabled page.), #2 (It shows the default view of 'Easy Category Cloud' enabled page with hover or selected sub category..)
easy-category-cloud/easy-category-cloud.php Passed 13 tests
The entry point to "Easy Category Cloud" version 1.0.0 is a PHP file that has certain tags in its header comment area
78 characters long description:
This plugin shows category and sub categories cloud for your woocommerce shop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin370 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 15 | 0 | 330 |
PHP | 1 | 12 | 26 | 40 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.61MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 33.67KB | 13.52KB | ▼ 59.83% |
assets/screenshot-1.png | 38.21KB | 19.73KB | ▼ 48.35% |
assets/screenshot-2.png | 47.75KB | 19.96KB | ▼ 58.19% |
assets/banner-1544x500.png | 414.39KB | 210.78KB | ▼ 49.13% |
screenshot-2.png | 47.75KB | 19.96KB | ▼ 58.19% |