Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.32ms] Passed 4 tests
Server-side resources used by Gauntlet Security
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.58 ▼7.50 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.20 ▼0.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.60 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.20 ▼11.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.34 ▼1.06 |
Gauntlet Security /wp-admin/tools.php?page=gauntlet-security | 3.51 | 42.47 |
More Info /wp-admin/admin.php?page=gauntlet-more-info | 3.29 | 30.72 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Gauntlet Security
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.10 | 1.63 ▼0.04 | 39.22 ▼4.03 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▲0.94 | 110.19 ▼4.01 | 44.00 ▼1.01 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▼0.00 | 38.31 ▼4.48 | 36.60 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.52 ▲0.46 | 638.54 ▼6.85 | 50.13 ▼13.40 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▼0.05 | 99.49 ▲0.22 | 43.32 ▲0.69 |
Gauntlet Security /wp-admin/tools.php?page=gauntlet-security | 3,860 | 2.15 | 65.01 | 40.63 |
More Info /wp-admin/admin.php?page=gauntlet-more-info | 948 | 2.10 | 29.23 | 28.38 |
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
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=gauntlet-security
- > Warning in wp-content/plugins/gauntlet-security/admin/includes/classes/gus_RenameThemes.php+82
Use of undefined constant WP_SITEURL - assumed 'WP_SITEURL' (this will throw an Error in a future version of PHP)
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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:
- Tags: There are too many tags (14 tag instead of maximum 10)
gauntlet-security/gauntlet-security.php Passed 13 tests
The primary PHP file in "Gauntlet Security" version 1.4.1 is used by WordPress to initiate all plugin functionality
118 characters long description:
Performs a detailed security analysis of your WordPress installation. Gives tips on how to make your site more secure.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected5,919 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 1,025 | 207 | 5,332 |
CSS | 2 | 55 | 69 | 330 |
JavaScript | 5 | 59 | 48 | 257 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.16 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 1 | 3.12% |
Methods | 269 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 19.70% |
▷ Protected methods | 197 | 73.23% |
▷ Private methods | 19 | 7.06% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/logo_300.png | 1.63KB | 1.77KB | 0.00% |
admin/assets/images/icon_sprite_20.png | 3.38KB | 2.45KB | ▼ 27.70% |
admin/assets/images/logo_200.png | 4.35KB | 4.16KB | ▼ 4.31% |