Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.32ms] Passed 4 tests
Analyzing server-side resources used by Plugin Security Scanner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.27 ▼5.02 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.28 ▼3.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.48 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.32 ▼10.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.37 ▲1.28 |
Plugin Security Scanner /wp-admin/tools.php?page=plugin-security-scanner | 3.19 | 43.20 |
Plugin Security Scanner /wp-admin/options-general.php?page=plugin-security-scanner-admin | 3.21 | 31.13 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
plugin-security-scanner |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Security Scanner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.20 ▼1.16 | 1.72 ▼0.01 | 42.75 ▼5.66 |
Dashboard /wp-admin | 2,214 ▲25 | 4.87 ▼0.10 | 115.22 ▲9.11 | 43.55 ▼0.62 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▲0.06 | 39.26 ▼3.79 | 37.32 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,540 ▲17 | 23.28 ▲0.10 | 582.99 ▼116.65 | 67.03 ▲5.67 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.17 ▼0.01 | 95.82 ▼6.39 | 41.77 ▼3.95 |
Plugin Security Scanner /wp-admin/tools.php?page=plugin-security-scanner | 674 | 1.53 | 6.57 | 21.19 |
Plugin Security Scanner /wp-admin/options-general.php?page=plugin-security-scanner-admin | 842 | 2.03 | 23.16 | 31.15 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- plugin-security-scanner
- can_compress_scripts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/plugin-security-scanner/plugin-security-scanner.php
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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: plugins, security, vulnerabilities, secure, scanner
plugin-security-scanner/plugin-security-scanner.php 92% from 13 tests
The primary PHP file in "Plugin Security Scanner" version 2.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 155 characters long)
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
There were no executable files found in this plugin327 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 83 | 36 | 327 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin