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: ▲0.08MB] [CPU: ▲0.08ms] Passed 4 tests
A check of server-side resources used by Advanced Invisible Anti-Spam
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 42.99 ▲1.77 |
Dashboard /wp-admin | 3.42 ▲0.08 | 49.51 ▼2.92 |
Posts /wp-admin/edit.php | 3.53 ▲0.14 | 54.50 ▲2.13 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.07 | 98.36 ▲3.27 |
Media Library /wp-admin/upload.php | 3.34 ▲0.07 | 38.19 ▼0.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
aia_previous_field_key |
widget_recent-posts |
aia_current_key |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Invisible Anti-Spam
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲8 | 14.67 ▲0.15 | 1.54 ▼0.66 | 43.01 ▼4.67 |
Dashboard /wp-admin | 2,198 ▲30 | 5.64 ▲0.05 | 89.06 ▼13.49 | 37.76 ▼7.49 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.03 | 39.98 ▲1.51 | 35.10 ▼5.57 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.20 ▲0.13 | 599.73 ▼94.73 | 48.33 ▼5.09 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.14 ▼0.08 | 98.62 ▼10.56 | 47.87 ▼3.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/advanced-invisible-anti-spam/advanced-invisible-antispam.php:18
- > PHP Fatal error
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 86% 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
Attributes that need to be fixed:
- Screenshots: Screenshot #2 (( Registration ) The error message shown to bots, or users who do not have javascript enabled. This message is translatable, and filterable.) image missing
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== advanced-invisible-anti-spam ===
) - Tags: You are using too many tags: 12 tag instead of maximum 10
advanced-invisible-anti-spam/advanced-invisible-antispam.php 92% from 13 tests
The entry point to "Advanced Invisible Anti-Spam" version 1.4.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advanced-invisible-anti-spam.php" instead of "advanced-invisible-antispam.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
No dangerous file extensions were detected284 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 76 | 45 | 259 |
JavaScript | 1 | 4 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.26 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin