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.23MB] [CPU: ▲0.45ms] Passed 4 tests
Analyzing server-side resources used by SimpleForm reCAPTCHA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 46.35 ▲3.49 |
Dashboard /wp-admin | 3.53 ▲0.23 | 51.45 ▲2.23 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 49.78 ▼3.26 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 94.11 ▼0.66 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 42.34 ▲3.88 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for SimpleForm reCAPTCHA
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.31 ▼1.06 | 4.45 ▲2.67 | 44.39 ▲5.78 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼1.00 | 108.20 ▲1.31 | 42.52 ▼2.47 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 39.80 ▼1.14 | 36.44 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.27 ▲4.98 | 648.22 ▲33.27 | 60.93 ▲10.83 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.02 | 95.09 ▼7.11 | 43.84 ▼0.62 |
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
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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
Even though no errors were found, 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
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: google, simpleform addon, antispam, contact form, captcha...
simpleform-recaptcha/simpleform-recaptcha.php Passed 13 tests
The main file in "SimpleForm reCAPTCHA" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
137 characters long description:
Stop Bot Spam! This SimpleForm addon allows you to require users to confirm that they are not a robot by completing the Google reCAPTCHA.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin955 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 327 | 345 | 795 |
JavaScript | 2 | 26 | 0 | 160 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 61.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 243.00 |
Average method complexity | 8.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 33 | 84.62% |
▷ Protected methods | 2 | 5.13% |
▷ Private methods | 4 | 10.26% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin