Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.53MB] [CPU: ▼3.37ms] Passed 4 tests
This is a short check of server-side resources used by TomS Vaptcha
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.52 | 41.35 ▲2.84 |
Dashboard /wp-admin | 3.84 ▲0.54 | 46.26 ▲0.42 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 46.97 ▲1.78 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 84.50 ▼18.51 |
Media Library /wp-admin/upload.php | 3.77 ▲0.53 | 39.76 ▲7.29 |
TomS Vaptcha /wp-admin/admin.php?page=toms-vaptcha-settings | 3.73 | 39.40 |
Dashboard /wp-admin/admin.php?page=toms-wp | 3.82 | 36.00 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
TomS Vaptcha: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,103 ▲357 | 13.44 ▼0.94 | 4.35 ▲2.67 | 41.26 ▲5.15 |
Dashboard /wp-admin | 2,506 ▲317 | 4.87 ▼0.10 | 99.53 ▼24.20 | 70.35 ▲26.07 |
Posts /wp-admin/edit.php | 2,392 ▲306 | 1.98 ▼0.19 | 35.54 ▲0.67 | 31.61 ▼5.55 |
Add New Post /wp-admin/post-new.php | 1,773 ▲240 | 22.13 ▼1.04 | 749.67 ▲65.51 | 46.82 ▼6.37 |
Media Library /wp-admin/upload.php | 1,685 ▲297 | 4.20 ▲0.02 | 96.95 ▼1.11 | 73.49 ▲29.77 |
TomS Vaptcha /wp-admin/admin.php?page=toms-vaptcha-settings | 1,471 | 2.09 | 25.05 | 47.68 |
Dashboard /wp-admin/admin.php?page=toms-wp | 1,428 | 2.14 | 24.16 | 37.02 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
toms-vaptcha/toms-vaptcha-home.php 77% from 13 tests
The primary PHP file in "TomS Vaptcha" version 1.1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.0")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 196 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("toms-vaptcha.php" instead of "toms-vaptcha-home.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,689 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 240 | 418 | 1,930 |
CSS | 4 | 13 | 7 | 286 |
PO File | 1 | 86 | 105 | 213 |
SVG | 2 | 1 | 1 | 191 |
JSON | 1 | 0 | 0 | 68 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin