Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.33ms] Passed 4 tests
An overview of server-side resources used by Exploit Scanner for Active Theme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.38 ▼0.84 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.86 ▲1.29 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 50.73 ▲1.35 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 93.53 ▼6.88 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.94 ▲1.12 |
Theme Scanner /wp-admin/tools.php?page=px_theme_scanner | 3.26 | 35.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Exploit Scanner for Active Theme: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.73 ▲0.37 | 2.06 ▲0.40 | 47.29 ▼2.20 |
Dashboard /wp-admin | 2,196 ▲19 | 5.60 ▲0.01 | 94.13 ▼8.37 | 43.51 ▼1.64 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.07 ▲0.04 | 40.78 ▲6.41 | 34.23 ▼2.81 |
Add New Post /wp-admin/post-new.php | 6,298 ▲4,770 | 23.17 ▲0.08 | 911.75 ▲236.37 | 36.96 ▼30.82 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▲0.04 | 100.46 ▼8.39 | 41.74 ▼11.80 |
Theme Scanner /wp-admin/tools.php?page=px_theme_scanner | 831 | 1.72 | 22.95 | 33.95 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/exploit-scanner-for-active-theme/index.php
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 94% from 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
Attributes that require attention:
- Screenshots: Screenshot #1 (No setup required.) image required
exploit-scanner-for-active-theme/index.php 85% from 13 tests
The principal PHP file in "Exploit Scanner for Active Theme" v. 1.0.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exploit-scanner-for-active-theme.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected372 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 31 | 233 |
JavaScript | 1 | 26 | 8 | 114 |
CSS | 1 | 4 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin