Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.30ms] Passed 4 tests
A check of server-side resources used by
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.02 ▼1.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.31 ▼8.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.83 ▼0.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.51 ▼2.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.45 ▲3.05 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.42 ▲0.07 | 1.71 ▼0.78 | 43.73 ▼1.39 |
Dashboard /wp-admin | 2,198 ▲24 | 5.64 ▲0.06 | 81.35 ▼27.68 | 42.64 ▼2.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 39.21 ▲0.80 | 36.34 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.58 ▲0.39 | 666.22 ▼8.28 | 47.70 ▼9.29 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.02 | 98.70 ▼10.55 | 45.19 ▼2.73 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/carspot/carspot.php:235
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/nokri/nokri.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/dwt/dwt.php:219
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/adforest/adforest.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/index.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: adforest data importer, best classified theme bulk importer, adforest classified theme
sb-data-importer-wp-all-import-add-on/index.php 85% from 13 tests
Analyzing the main PHP file in "" version 1.5.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("sb-data-importer-wp-all-import-add-on.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin1,421 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 393 | 125 | 1,421 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 178.00 |
▷ Minimum class complexity | 178.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin