Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.53ms] Passed 4 tests
An overview of server-side resources used by Spam Comments Cleaner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.49 ▼6.00 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.67 ▼3.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.93 ▼1.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.12 ▼11.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.75 ▼1.23 |
WordPress Spam Cleaner /wp-admin/options-general.php?page=wsc-options | 3.23 | 33.19 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Spam Comments Cleaner
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼0.73 | 4.67 ▲3.05 | 41.55 ▲1.61 |
Dashboard /wp-admin | 2,207 ▲21 | 5.85 ▲0.91 | 97.82 ▼11.62 | 40.36 ▲2.13 |
Posts /wp-admin/edit.php | 2,072 ▼20 | 2.03 ▼0.01 | 36.70 ▼1.89 | 31.72 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.17 ▲0.06 | 599.16 ▼29.99 | 57.43 ▼2.41 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.06 | 96.50 ▼22.46 | 42.24 ▼8.03 |
WordPress Spam Cleaner /wp-admin/options-general.php?page=wsc-options | 978 | 2.04 | 25.26 | 30.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2 in spam-comments-cleaner/assets to your readme.txt
spam-comments-cleaner/spam-comments-cleaner.php 92% from 13 tests
Analyzing the main PHP file in "Spam Comments Cleaner" version 1.3
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin240 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 23 | 215 |
CSS | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 9 | |
▷ Named functions | 9 | 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 images were found in this plugin