Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼301.21ms] Passed 4 tests
An overview of server-side resources used by Maspik - Spam blacklist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.26 | 74.83 ▲5.04 |
Dashboard /wp-admin | 3.66 ▲0.25 | 42.55 ▲3.43 |
Posts /wp-admin/edit.php | 3.88 ▲0.24 | 50.68 ▲1.07 |
Add New Post /wp-admin/post-new.php | 7.12 ▲0.15 | 109.56 ▼1,211.20 |
Media Library /wp-admin/upload.php | 3.53 ▲0.24 | 35.74 ▲1.86 |
Anti spam /wp-admin/admin.php?page=contact-forms-anti-spam | 3.51 | 30.91 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Maspik - Spam blacklist: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,895 ▲141 | 15.78 ▲0.23 | 11.38 ▼5.59 | 3.85 ▲0.37 |
Dashboard /wp-admin | 2,988 ▲69 | 6.43 ▲0.07 | 189.21 ▼2.53 | 214.17 ▲18.20 |
Posts /wp-admin/edit.php | 2,737 ▲19 | 3.37 ▼0.05 | 92.14 ▼9.59 | 184.03 ▲3.73 |
Add New Post /wp-admin/post-new.php | 1,684 ▼11 | 15.99 ▼2.43 | 716.91 ▲78.41 | 191.02 ▼15.92 |
Media Library /wp-admin/upload.php | 1,764 ▲34 | 5.74 ▲0.01 | 196.81 ▼6.10 | 248.20 ▲1.21 |
Anti spam /wp-admin/admin.php?page=contact-forms-anti-spam | 2,797 | 3.60 | 91.28 | 223.26 |
Spam API /wp-admin/contact-forms-anti-spam-pro.php | 26 | 1.14 | 0.04 | 26.18 |
Spam log /wp-admin/contact-forms-anti-spam-log.php | 26 | 1.14 | 0.57 | 15.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=contact-forms-anti-spam
- > Notice in wp-content/plugins/contact-forms-anti-spam/admin/class-efas-admin.php+675
Trying to access array offset on value of type bool
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/contact-forms-anti-spam/public/partials/efas-public-display.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-forms-anti-spam/admin/partials/contact-forms-anti-spam-pro.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-forms-anti-spam/includes/functions.php:422
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-forms-anti-spam/includes/elementor-hooks.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/contact-forms-anti-spam/admin/partials/contact-forms-anti-spam-admin-display.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-forms-anti-spam/license/license.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/contact-forms-anti-spam/admin/partials/contact-forms-anti-spam-log.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-forms-anti-spam/includes/cf7-hooks.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/contact-forms-anti-spam-pro.php
- > Network (severe)
wp-admin/contact-forms-anti-spam-pro.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/contact-forms-anti-spam-log.php
- > Network (severe)
wp-admin/contact-forms-anti-spam-log.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots need descriptions #3, #4, #5, #6 in contact-forms-anti-spam/assets to your readme.txt
- Donate link: Invalid URI ("")
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
contact-forms-anti-spam/contact-forms-anti-spam.php Passed 13 tests
The principal PHP file in "Maspik - Spam blacklist" v. 0.5.5 is loaded by WordPress automatically on each request
96 characters long description:
Eliminate spam on Elementor + CF7 Forms. Block specific words, IP, country, languages, and more!
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
Everything looks great! No dangerous files found in this plugin4,176 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 711 | 2,263 | 3,208 |
Markdown | 2 | 80 | 0 | 341 |
PO File | 1 | 87 | 112 | 321 |
CSS | 3 | 6 | 25 | 275 |
JSON | 1 | 0 | 0 | 25 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 156.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 157 | |
▷ Static methods | 3 | 1.91% |
▷ Public methods | 117 | 74.52% |
▷ Protected methods | 18 | 11.46% |
▷ Private methods | 22 | 14.01% |
Functions | 36 | |
▷ Named functions | 30 | 83.33% |
▷ Anonymous functions | 6 | 16.67% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.21MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
license/tws-license-manager-client-master/Screenshots/status-not-active.png | 61.36KB | 23.15KB | ▼ 62.28% |
license/tws-license-manager-client-master/Screenshots/status-inactive.png | 47.34KB | 20.04KB | ▼ 57.67% |
license/tws-license-manager-client-master/Screenshots/status-active.png | 47.60KB | 20.04KB | ▼ 57.89% |
license/tws-license-manager-client-master/Screenshots/status-expired.png | 50.15KB | 21.38KB | ▼ 57.36% |
license/tws-license-manager-client-master/Assets/logo.png | 3.65KB | 2.93KB | ▼ 19.67% |