Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.91ms] Passed 4 tests
Analyzing server-side resources used by Spam Protection, Anti-Spam, Comment Runner by IRunStuff.com
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.36 ▼4.63 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.06 ▼13.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.45 ▲0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.27 ▼9.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 43.63 ▲8.52 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Spam Protection, Anti-Spam, Comment Runner by IRunStuff.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.19 ▼1.16 | 4.75 ▲2.89 | 43.93 ▼0.03 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.01 | 100.77 ▼5.23 | 36.19 ▼6.96 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.09 ▲0.05 | 33.03 ▼2.44 | 34.64 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.41 ▼4.62 | 619.54 ▼51.81 | 55.51 ▲0.14 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▲0.07 | 98.34 ▼3.96 | 43.82 ▼3.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: free-plugin, anti-spam, comments, antispam, spam
comment-runner/comment-runner.php 92% from 13 tests
Analyzing the main PHP file in "Spam Protection, Anti-Spam, Comment Runner by IRunStuff.com" version 1.2.3
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/locale")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin49 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 29 | 30 |
CSS | 1 | 3 | 1 | 12 |
Markdown | 1 | 7 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected