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.00MB] [CPU: ▼2.17ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 Spam Killer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.57 ▼3.42 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.96 ▼2.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.61 ▼5.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.90 ▲7.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.97 ▲2.75 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Spam Killer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.16 ▼1.43 | 1.90 ▼0.01 | 41.24 ▼6.51 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.06 | 109.90 ▼2.57 | 41.16 ▲1.36 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.01 | 41.21 ▲1.40 | 37.33 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.62 ▲1.12 | 624.53 ▼33.90 | 65.61 ▲7.70 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▲0.01 | 94.46 ▼11.70 | 40.24 ▼3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: captcha, wpcf7, prevent spam, contact form seven, stop spam...
cf7-advance-security/cf7-advance-security.php Passed 13 tests
The main file in "Contact Form 7 Spam Killer" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
94 characters long description:
Prevent unwanted spam mail from your inbox. A permanent solution for from 7 spam emails issue.
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
Good job! No executable or dangerous file extensions detected242 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 62 | 230 |
JavaScript | 1 | 0 | 1 | 11 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot.png | 32.53KB | 14.89KB | ▼ 54.23% |
images/screenshot-2.png | 126.28KB | 42.97KB | ▼ 65.98% |