Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼140.90ms] Passed 4 tests
An overview of server-side resources used by Humans Only
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▲0.03 | 21.72 ▼0.09 |
Dashboard /wp-admin | 3.08 ▲0.03 | 45.49 ▲6.24 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 44.97 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 90.64 ▼556.06 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 31.62 ▼8.27 |
Humans Only Settings /wp-admin/options-general.php?page=humansonly-admin | 2.97 | 28.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 4 new options
New WordPress options |
---|
humansonly-allow-spiders |
humansonly-recaptcha-publickey |
humansonly-recaptcha-privatekey |
humansonly-salt |
Browser metrics Passed 4 tests
Humans Only: 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 / | 3,214 ▼381 | 15.66 ▲0.06 | 0.58 ▼9.82 | 1.87 ▼46.83 |
Dashboard /wp-admin | 2,978 ▲47 | 6.16 ▲0.24 | 134.86 ▼9.14 | 111.17 ▲2.05 |
Posts /wp-admin/edit.php | 2,741 ▲5 | 2.71 ▼0.01 | 64.26 ▼1.80 | 85.48 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,675 ▲175 | 18.84 ▲0.25 | 360.94 ▼3.17 | 105.07 ▼5.71 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.05 ▲0.02 | 141.89 ▼1.22 | 119.65 ▼8.88 |
Humans Only Settings /wp-admin/options-general.php?page=humansonly-admin | 1,102 | 2.08 | 55.06 | 74.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=humansonly-admin
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=humansonly-admin
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/humans-only/functions.php
- > /wp-content/plugins/humans-only/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: block, spammers, humans only, captcha, verify...
humans-only/functions.php 92% from 13 tests
The principal PHP file in "Humans Only" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("humans-only.php" instead of "functions.php")
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
Everything looks great! No dangerous files found in this plugin302 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 117 | 302 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 files were detected