Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼8.24ms] Passed 4 tests
This is a short check of server-side resources used by Cyclone Demo Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 43.45 ▲0.91 |
Dashboard /wp-admin | 3.52 ▲0.17 | 50.81 ▼14.94 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.51 ▼2.59 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.93 ▼16.33 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 38.46 ▲6.96 |
Server storage [IO: ▲37.56MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- The filesystem usage should be lower than 25MB (currently using 37.56MB)
Filesystem: 444 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Cyclone Demo Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.51 ▲0.16 | 1.83 ▲0.15 | 43.18 ▼2.38 |
Dashboard /wp-admin | 2,192 ▲14 | 5.61 ▼0.10 | 94.47 ▼18.35 | 43.24 ▼2.23 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.03 | 33.84 ▼2.71 | 35.11 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.62 ▲0.62 | 730.30 ▲42.42 | 56.45 ▲0.96 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.19 | 95.77 ▼6.95 | 42.89 ▼1.48 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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
Please take a closer look at the following
- 135× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyclone-demo-importer/themes/school-of-education/sections/pricing.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cyclone-demo-importer/themes/business-conference/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cyclone-demo-importer/themes/next-level-blog-lite/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyclone-demo-importer/themes/econsulting-agency-lite/customizer/options-testimonials.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cyclone-demo-importer/themes/artistic-blog-pro/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cyclone-demo-importer/themes/medical-business/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyclone-demo-importer/themes/econsulting-agency-lite/sections/partners.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cyclone-demo-importer/themes/news-24x7/demo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyclone-demo-importer/themes/econsulting-agency-lite/sections/banner.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyclone-demo-importer/themes/school-of-education/customizer/options-counter.php:3
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: demo data, one click demo import
cyclone-demo-importer/index.php 92% from 13 tests
Analyzing the main PHP file in "Cyclone Demo Importer" version 2.9.53
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("cyclone-demo-importer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin286,606 lines of code in 203 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 68 | 3,995 | 3,210 | 264,627 |
PHP | 133 | 2,820 | 287 | 21,687 |
CSS | 2 | 59 | 3 | 292 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 509 | |
▷ Named functions | 476 | 93.52% |
▷ Anonymous functions | 33 | 6.48% |
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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pro-tag.png | 8.35KB | 4.13KB | ▼ 50.57% |