Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.68ms] Passed 4 tests
Analyzing server-side resources used by Spam Protection, AntiSpam, reCaptcha, Stop bad bots, tor, Spam submissions, web scraping / FREE by CloudFilt
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.15 ▲0.49 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.54 ▼0.30 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 66.53 ▲18.11 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 81.68 ▼14.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.50 ▲7.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Spam Protection, AntiSpam, reCaptcha, Stop bad bots, tor, Spam submissions, web scraping / FREE by CloudFilt
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.38 ▼1.02 | 1.63 ▲0.06 | 40.95 ▼0.91 |
Dashboard /wp-admin | 2,227 ▲38 | 4.93 ▼0.01 | 95.37 ▼22.11 | 76.13 ▲31.61 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.01 ▼0.02 | 46.66 ▲5.49 | 47.88 ▲11.38 |
Add New Post /wp-admin/post-new.php | 1,686 ▲146 | 21.76 ▼1.30 | 663.42 ▲7.56 | 50.62 ▼3.16 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.12 ▼0.05 | 96.27 ▼0.63 | 76.72 ▲34.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cloudfilt-codes/view/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'CloudFiltCodes' not found in wp-content/plugins/cloudfilt-codes/includes/cloudFiltCodesFormHandler.php:118
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cloudfilt-codes/cloudFiltCodes.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cloudfilt-codes/cloudFiltCodes.php 77% from 13 tests
The main PHP script in "Spam Protection, AntiSpam, reCaptcha, Stop bad bots, tor, Spam submissions, web scraping / FREE by CloudFilt" version 1.0.13 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cloudfilt-codes.php" instead of "cloudFiltCodes.php")
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Please don't use more than 140 characters for the plugin description (currently 244 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin544 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 100 | 20 | 544 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cloudFiltIcon.png | 8.02KB | 1.05KB | ▼ 86.89% |
img/cloudFiltLogo.png | 6.83KB | 3.68KB | ▼ 46.02% |