Benchmarks
Plugin footprint 83% 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.48MB] [CPU: ▼84,396.61ms] Passed 4 tests
An overview of server-side resources used by One Click Demo Importer By Phoeniixx
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.13 | 43.10 ▲0.35 |
Dashboard /wp-admin | 3.48 ▼2.31 | 51.72 ▼337,585.80 |
Posts /wp-admin/edit.php | 3.60 ▲0.20 | 51.82 ▼3.42 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.14 | 104.15 ▲13.54 |
Media Library /wp-admin/upload.php | 3.41 ▲0.14 | 39.25 ▲2.44 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
One Click Demo Importer By Phoeniixx: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲57 | 14.31 ▼0.29 | 1.89 ▲0.37 | 52.69 ▲3.51 |
Dashboard /wp-admin | 2,201 ▲24 | 5.63 ▲0.02 | 96.84 ▲6.43 | 41.96 ▲1.70 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.00 ▼0.00 | 37.56 ▼5.62 | 34.04 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 22.96 ▲4.72 | 650.73 ▲2.30 | 57.23 ▼6.51 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.15 ▼0.01 | 97.98 ▼1.19 | 43.88 ▼1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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
Good news, no errors were detected
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 fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require(ABSPATHwp-admin/includes/file.php): failed to open stream: No such file or directory in wp-content/plugins/theme-data-importor-by-phoeniixx/inc/class-merlin-importer.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/theme-data-importor-by-phoeniixx/inc/class-merlin-importer.php on line 15
- > PHP Fatal error
require(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/theme-data-importor-by-phoeniixx/inc/class-merlin-importer.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: theme, demo, demo data, phoeniixx, importer...
theme-data-importor-by-phoeniixx/main.php 77% from 13 tests
The main PHP script in "One Click Demo Importer By Phoeniixx" version 1.1.3 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("theme-data-importor-by-phoeniixx.php" instead of "main.php")
- Description: The description should be shorter than 140 characters (currently 220 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected3,891 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 462 | 272 | 2,371 |
SVG | 1 | 17 | 2 | 629 |
JavaScript | 1 | 103 | 31 | 542 |
CSS | 1 | 19 | 3 | 349 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 130.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 273.00 |
Average method complexity | 9.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 50 | 86.21% |
▷ Protected methods | 8 | 13.79% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin