Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.97ms] Passed 4 tests
This is a short check of server-side resources used by Operation Demo Importer – Demo Importer For WPoperation Themes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.84 ▼4.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.07 ▲1.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.41 ▲3.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.03 ▼2.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.45 ▲1.39 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
operation-demo-importer-version |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Operation Demo Importer – Demo Importer For WPoperation Themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.25 ▼1.15 | 4.96 ▲3.19 | 40.83 ▼3.93 |
Dashboard /wp-admin | 2,206 ▲20 | 5.81 ▲0.82 | 96.42 ▼21.70 | 39.09 ▼6.39 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 41.79 ▲6.88 | 36.28 ▲2.27 |
Add New Post /wp-admin/post-new.php | 1,528 ▼6 | 18.10 ▼4.88 | 635.58 ▼38.73 | 56.59 ▲3.50 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.24 ▼0.01 | 98.86 ▼16.25 | 42.68 ▼3.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- operation-demo-importer-version
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/class-wp-customize-setting.php' (include_path='.:/usr/share/php') in wp-content/plugins/operation-demo-importer/classes/importers/class-settings-importer.php on line 95
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/operation-demo-importer/classes/importers/class-settings-importer.php on line 95
- > PHP Warning
require_once(ABSPATHwp-includes/class-wp-customize-setting.php): failed to open stream: No such file or directory in wp-content/plugins/operation-demo-importer/classes/importers/class-settings-importer.php on line 95
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: wpoperation, importer, demo importer
operation-demo-importer/operation-demo-importer.php 92% from 13 tests
The entry point to "Operation Demo Importer – Demo Importer For WPoperation Themes" version 1.1.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
There were no executable files found in this plugin3,411 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 687 | 841 | 2,495 |
CSS | 2 | 92 | 3 | 578 |
JavaScript | 2 | 134 | 65 | 338 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 36.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 6.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 2 | 14.29% |
Methods | 95 | |
▷ Static methods | 12 | 12.63% |
▷ Public methods | 85 | 89.47% |
▷ Protected methods | 3 | 3.16% |
▷ Private methods | 7 | 7.37% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
There are no PNG files in this plugin