Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.53ms] Passed 4 tests
A check of server-side resources used by belingoAntiSpam
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.76 ▲0.68 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.31 ▼5.07 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.09 ▲1.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.86 ▼14.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.62 ▲1.26 |
Add New /wp-admin/post-new.php?post_type=bas_blocked_cf7 | 3.34 | 49.45 |
Blocked applications CF7 /wp-admin/edit.php?post_type=bas_blocked_cf7 | 3.29 | 36.29 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by belingoAntiSpam
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.22 ▼1.55 | 2.58 ▲1.01 | 42.20 ▲2.76 |
Dashboard /wp-admin | 2,233 ▲48 | 4.86 ▼0.00 | 96.73 ▼5.70 | 35.15 ▼9.52 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.04 | 38.78 ▲2.03 | 36.86 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,557 ▲38 | 23.04 ▼0.03 | 668.29 ▲79.96 | 57.81 ▲5.42 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.19 ▲0.02 | 106.39 ▲10.68 | 43.89 ▼0.11 |
Add New /wp-admin/post-new.php?post_type=bas_blocked_cf7 | 2,150 | 7.57 | 188.54 | 64.61 |
Blocked applications CF7 /wp-admin/edit.php?post_type=bas_blocked_cf7 | 1,077 | 2.02 | 29.79 | 28.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/belingo-antispam/belingoantispam.php:19
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 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
2 plugin tags: cf7 antispam, antispam
belingo-antispam/belingoantispam.php 85% from 13 tests
The entry point to "belingoAntiSpam" version 1.2.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("belingo-antispam.php" instead of "belingoantispam.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected146 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 21 | 22 | 76 |
PHP | 1 | 22 | 9 | 70 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin