Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.88ms] Passed 4 tests
Server-side resources used by Gravity Forms Zero Spam
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.61 ▼1.97 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.10 ▼17.07 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.21 ▲3.24 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.01 ▼17.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.46 ▼3.00 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms Zero Spam
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲43 | 14.27 ▼0.08 | 2.03 ▲0.11 | 44.34 ▲2.58 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.03 | 88.57 ▼1.51 | 40.04 ▲1.16 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.15 ▲0.16 | 38.67 ▼2.26 | 36.36 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.50 ▼1.76 | 594.03 ▼21.36 | 58.23 ▼9.27 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.24 ▼0.01 | 99.46 ▼0.02 | 44.95 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output 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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: anti-spam, add-ons, gravity forms, gravityforms, honeypot...
gravity-forms-zero-spam/gravityforms-zero-spam.php 92% from 13 tests
Analyzing the main PHP file in "Gravity Forms Zero Spam" version 1.4.1
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("gravity-forms-zero-spam.php" instead of "gravityforms-zero-spam.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected504 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 140 | 218 | 504 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 21 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 19.23% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
No PNG images were found in this plugin