Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/captcha-novami/captcha-novami.php+94
Use of undefined constant REST_REQUEST - assumed 'REST_REQUEST' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼0.02MB] [CPU: ▼293.68ms] Passed 4 tests
Analyzing server-side resources used by Captcha Novami
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 56.17 ▲6.70 |
Dashboard /wp-admin | 3.41 ▲0.00 | 33.88 ▲0.65 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 37.27 ▲0.80 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 93.21 ▼1,176.13 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.96 ▼0.02 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Captcha Novami
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲61 | 15.81 ▲0.20 | 6.44 ▲0.83 | 2.23 ▲0.09 |
Dashboard /wp-admin | 2,888 ▲34 | 6.08 ▼0.10 | 115.66 ▼22.49 | 158.02 ▼3.82 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▲0.00 | 64.50 ▲1.11 | 139.33 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,752 ▲86 | 21.54 ▼0.23 | 453.67 ▲26.60 | 153.69 ▼6.79 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.48 ▲0.01 | 145.28 ▲2.18 | 186.32 ▼2.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/captcha-novami/uninstall.php
- > /wp-content/plugins/captcha-novami/captcha-novami.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: Screenshot #1 (No screenshots) image missing
captcha-novami/captcha-novami.php Passed 13 tests
The entry point to "Captcha Novami" version 1.1 is a PHP file that has certain tags in its header comment area
98 characters long description:
Captcha Novami works like an invisible reCaptcha. No settings required. Just install and activate.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin85 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 35 | 80 |
JavaScript | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 3 | 37.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 62.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin