Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.55ms] Passed 4 tests
This is a short check of server-side resources used by Easy Captcha by Croitre
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.61 ▼8.24 |
Dashboard /wp-admin | 3.34 ▲0.00 | 52.14 ▼12.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.58 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.74 ▼21.91 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.78 ▲3.12 |
Easy Captcha /wp-admin/options-general.php?page=ccs-easy-cap-settings | 3.23 | 30.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ccs_easycap_ans_secret |
widget_recent-posts |
db_upgraded |
ccs_easycap_app_secret |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
ccs_easycap_tok_secret |
can_compress_scripts |
ccs_easycap_math_ops |
Browser metrics Passed 4 tests
Easy Captcha by Croitre: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.53 | 1.86 ▼0.29 | 39.94 ▼4.65 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▲0.10 | 88.67 ▼15.62 | 39.39 ▼6.74 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.04 | 38.97 ▲1.41 | 36.68 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.46 ▼0.05 | 683.72 ▲7.97 | 53.91 ▼8.04 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▼0.01 | 104.65 ▲1.98 | 47.24 ▲0.75 |
Easy Captcha /wp-admin/options-general.php?page=ccs-easy-cap-settings | 844 | 1.99 | 24.66 | 35.89 |
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
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-captcha-by-croitre/ccs-easy-captcha.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: captcha code, arithmetic captcha, wordpress, captcha for wordpress, spam blocker...
easy-captcha-by-croitre/ccs-easy-captcha.php 85% from 13 tests
This is the main PHP file of "Easy Captcha by Croitre" version 0.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-captcha-by-croitre.php" instead of "ccs-easy-captcha.php")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.3.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin216 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 49 | 216 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin