Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Error in wp-content/plugins/wp-ignitor/src/wpIgnitor.php+268
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ignitor/src/wpIgnitor.php:268
Stack trace:
#0 wp-includes/class-wp-hook.php(310): wpIgnitor\wpIgnitor::plugin_activation()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.28ms] Passed 4 tests
This is a short check of server-side resources used by WP Ignitor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.58 ▼2.51 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.06 ▼2.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.39 ▲2.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.02 ▼2.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.28 ▲4.28 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Ignitor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.16 ▼1.24 | 1.98 ▼0.07 | 46.29 ▲0.24 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.05 | 108.58 ▲1.16 | 40.84 ▼0.54 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.03 | 38.63 ▲4.29 | 35.64 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,534 ▼9 | 23.32 ▲4.73 | 587.71 ▼39.78 | 49.32 ▲3.53 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▲0.01 | 97.80 ▼8.56 | 42.27 ▼0.65 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ignitor/views/help-utils.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ignitor/views/help-login.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-ignitor/views/settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ignitor/views/help-conceal.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-ignitor/views/utils.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ignitor/views/login.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ignitor/views/globals.php:8
- > PHP Fatal error
Uncaught Error: Class 'wpIgnitor\\abstractClass' not found in wp-content/plugins/wp-ignitor/src/wpIgnitor.php:14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ignitor/views/conceal.php:8
- > PHP Notice
Undefined variable: current_tab in wp-content/plugins/wp-ignitor/views/settings.php on line 8
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
1 plugin tags: management
wp-ignitor/wp-ignitor.php 85% from 13 tests
The principal PHP file in "WP Ignitor" v. 1.1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4.0" instead of "7.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected6,149 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 199 | 1,451 | 2,801 |
JavaScript | 1 | 345 | 235 | 1,491 |
CSS | 1 | 244 | 28 | 1,054 |
PO File | 1 | 250 | 261 | 772 |
SVG | 3 | 0 | 0 | 31 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 84.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 200.00 |
Average method complexity | 5.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 26 | 25.74% |
▷ Public methods | 94 | 93.07% |
▷ Protected methods | 3 | 2.97% |
▷ Private methods | 4 | 3.96% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin