Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.27MB] [CPU: ▲4.45ms] Passed 4 tests
Server-side resources used by Anti-Malware Security and Brute-Force Firewall
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.74 ▲1.28 | 52.93 ▲12.53 |
Dashboard /wp-admin | 4.61 ▲1.31 | 61.59 ▲10.01 |
Posts /wp-admin/edit.php | 4.66 ▲1.30 | 58.05 ▲6.63 |
Add New Post /wp-admin/post-new.php | 7.13 ▲1.24 | 96.25 ▼11.37 |
Media Library /wp-admin/upload.php | 4.47 ▲1.24 | 52.71 ▲22.37 |
Firewall Options /wp-admin/admin.php?page=GOTMLS-Firewall-Options | 4.46 | 44.15 |
View Quarantine /wp-admin/admin.php?page=GOTMLS_View_Quarantine | 4.46 | 47.86 |
Scan Settings /wp-admin/admin.php?page=GOTMLS-settings | 4.50 | 46.32 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
GOTMLS_nonce_blob |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Anti-Malware Security and Brute-Force Firewall
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.22 ▼0.13 | 2.01 ▲0.30 | 43.00 ▲1.02 |
Dashboard /wp-admin | 2,210 ▲32 | 5.51 ▼0.19 | 84.72 ▼19.63 | 80.18 ▲36.77 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.01 ▲0.05 | 39.24 ▼5.32 | 36.45 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.72 ▲0.55 | 767.83 ▲162.85 | 67.44 ▲9.20 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.20 ▼0.22 | 99.16 ▼2.60 | 77.32 ▲32.46 |
Firewall Options /wp-admin/admin.php?page=GOTMLS-Firewall-Options | 1,216 | 2.14 | 26.26 | 32.48 |
View Quarantine /wp-admin/admin.php?page=GOTMLS_View_Quarantine | 1,131 | 2.04 | 23.84 | 29.40 |
Scan Settings /wp-admin/admin.php?page=GOTMLS-settings | 1,442 | 2.06 | 23.32 | 31.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- GOTMLS_nonce_blob
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gotmls/index.php
- > /wp-content/plugins/gotmls/safe-load/index.php
- > /wp-content/plugins/gotmls/images/index.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/gotmls/safe-load/wp-settings.php on line 131
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/gotmls/safe-load/wp-settings.php on line 131
- > PHP Warning
Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in wp-content/plugins/gotmls/safe-load/wp-settings.php on line 131
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-includes/class-wpdb.php on line 750
- > PHP Warning
Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in wp-content/plugins/gotmls/safe-load/wp-settings.php on line 131
- > PHP Warning
Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' (this will throw an Error in a future version of PHP) in wp-includes/class-wpdb.php on line 2034
- > PHP Warning
mysqli_real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in wp-includes/class-wpdb.php on line 2035
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-includes/class-wpdb.php on line 2078
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-includes/class-wpdb.php:2083
- > PHP Warning
mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in wp-includes/class-wpdb.php on line 2035
- > PHP Warning
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
gotmls/index.php 85% from 13 tests
"Anti-Malware Security and Brute-Force Firewall" version 4.21.96's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 248 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("gotmls.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin5,576 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 155 | 1,175 | 2,875 |
PO File | 7 | 1,183 | 1,094 | 2,701 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.89 |
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 | 137 | |
▷ Named functions | 137 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected