Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.72ms] Passed 4 tests
This is a short check of server-side resources used by Exact Match Disallowed Comment & Contact Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 43.47 ▼0.09 |
Dashboard /wp-admin | 3.35 ▲0.00 | 50.85 ▼13.54 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 48.90 ▼3.81 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 94.41 ▼17.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 37.37 ▲5.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_blocklist_entries |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Exact Match Disallowed Comment & Contact Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.31 ▲0.02 | 1.75 ▼0.16 | 43.20 ▼0.14 |
Dashboard /wp-admin | 2,211 ▲37 | 5.63 ▲0.10 | 88.03 ▲1.44 | 40.19 ▼9.42 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▲0.04 | 34.02 ▼7.81 | 35.53 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.60 ▲0.48 | 612.51 ▼22.44 | 49.45 ▼4.78 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.38 ▲0.16 | 97.07 ▼9.29 | 41.28 ▼1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_blocklist_entries
- This plugin does not fully uninstall, 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 Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/exact-match-disallowed-comment-contact-forms/inc/class-table-entries.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/exact-match-disallowed-comment-contact-forms/templates/entries.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: contact form spam, contact form 7, blacklist, formidable, comment spam...
exact-match-disallowed-comment-contact-forms/blocklist-manager.php 92% from 13 tests
The main file in "Exact Match Disallowed Comment & Contact Forms" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exact-match-disallowed-comment-contact-forms.php" instead of "blocklist-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin246 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 63 | 43 | 246 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 3 | 14.29% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 1 | 4.76% |
▷ Private methods | 1 | 4.76% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
No PNG files were detected