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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.80ms] Passed 4 tests
Server-side resources used by Inpersttion For Theme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.00 ▼9.11 |
Dashboard /wp-admin | 3.33 ▼0.02 | 42.55 ▼20.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.43 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.99 ▼16.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.14 ▼0.75 |
Server storage [IO: ▲0.51MB] [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: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Inpersttion For Theme
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.68 ▼0.69 | 1.70 ▼0.15 | 37.77 ▼6.11 |
Dashboard /wp-admin | 2,208 ▲17 | 4.86 ▼0.95 | 114.67 ▲8.80 | 40.75 ▼3.89 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.05 ▲0.04 | 40.42 ▲2.81 | 35.51 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 18.29 ▲0.73 | 592.02 ▼67.97 | 59.12 ▼10.22 |
Media Library /wp-admin/upload.php | 1,387 ▼1 | 4.16 ▼0.02 | 99.08 ▼5.08 | 40.77 ▼4.37 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/err-our-team/includes/pro/customizer-repeater/inc/icons.php
- > /wp-content/plugins/err-our-team/includes/free/customizer-repeater/inc/icons.php
- 32× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/our_team.php:392
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/sponsors.php:249
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/features/hide-show.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/dynamic-demo.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/features/sponsors.php:264
- > PHP Fatal error
require(): Failed opening required 'IFT_PLUGIN_DIR_PATHincludes/free/customizer-repeater/inc/customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/err-our-team/includes/free/customizer-repeater/functions.php on line 2
- > PHP Warning
Use of undefined constant IFT_PLUGIN_DIR_PATH - assumed 'IFT_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/err-our-team/includes/pro/customizer-repeater/functions.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/services.php:382
- > PHP Fatal error
require(): Failed opening required 'IFT_PLUGIN_DIR_PATHincludes/pro/customizer-repeater/inc/customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/err-our-team/includes/pro/customizer-repeater/functions.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/about.php:294
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors not specified
err-our-team/err-our-team.php 92% from 13 tests
The entry point to "Inpersttion For Theme" version 1.0 is a PHP file that has certain tags in its header comment area
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
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
Success! There were no dangerous files found in this plugin10,598 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 215 | 520 | 9,314 |
JavaScript | 6 | 203 | 86 | 902 |
CSS | 4 | 58 | 6 | 382 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 35.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 10.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 50.00% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 12 | 46.15% |
Functions | 107 | |
▷ Named functions | 107 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin