Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.90ms] Passed 4 tests
Server-side resources used by CF7 ReCaptcha Mine
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.14 ▼5.29 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.42 ▲5.04 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 43.43 ▼15.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.43 ▼9.25 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.93 ▼1.78 |
CF7 ReCaptcha Mine /wp-admin/options-general.php?page=rcm_options | 3.22 | 34.45 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 10 new options
New WordPress options |
---|
rcm_pwo_stamp_log |
can_compress_scripts |
rcm_pow_salt |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
rcm_pow_difficulty |
widget_recent-comments |
rcm_pow_time_window |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CF7 ReCaptcha Mine
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.23 ▼1.20 | 4.92 ▲2.77 | 46.46 ▼0.27 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.03 | 117.62 ▼1.19 | 48.00 ▲4.19 |
Posts /wp-admin/edit.php | 2,096 ▲28 | 2.01 ▲0.01 | 52.73 ▲15.53 | 44.55 ▲14.57 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.43 ▼4.60 | 676.41 ▼14.41 | 53.61 ▼4.92 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.26 ▼0.03 | 97.31 ▼18.88 | 42.42 ▼4.61 |
CF7 ReCaptcha Mine /wp-admin/options-general.php?page=rcm_options | 903 | 2.19 | 30.90 | 37.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cf7-recaptcha-mine/uninstall.php
- > /wp-content/plugins/cf7-recaptcha-mine/class-option.php
- > /wp-content/plugins/cf7-recaptcha-mine/cf7-recaptcha-mine.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Settings page settings-page.jpg), #2 (Add a tag to the CF7 form Designer add-tag-to-form.jpg), #3 (Adjust flamingo optionally inbox setup-cf7-for-flamingo.jpg)
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Requires at least: The plugin version is formatted incorrectly
cf7-recaptcha-mine/cf7-recaptcha-mine.php 85% from 13 tests
The main file in "CF7 ReCaptcha Mine" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "PHP-Version 5.6+")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "4.8+")
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
Success! There were no dangerous files found in this plugin669 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 130 | 171 | 484 |
JavaScript | 1 | 37 | 29 | 185 |
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.21 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 22 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.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