Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.99ms] Passed 4 tests
An overview of server-side resources used by Skt NURCaptcha
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.22 ▲2.90 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.28 ▼2.47 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 44.45 ▲0.29 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 96.11 ▲3.24 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.93 ▲4.92 |
Skt NURCaptcha /wp-admin/options-general.php?page=skt_nurcaptcha | 3.70 | 49.48 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sktnurclog |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Skt NURCaptcha
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲140 | 14.25 ▼0.49 | 1.71 ▲0.08 | 44.82 ▲6.14 |
Dashboard /wp-admin | 2,225 ▲36 | 5.86 ▲0.92 | 102.19 ▼7.13 | 39.91 ▼2.28 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 2.00 ▲0.00 | 34.31 ▼0.76 | 33.85 ▲2.33 |
Add New Post /wp-admin/post-new.php | 1,557 ▲21 | 18.32 ▼4.95 | 601.40 ▼53.46 | 62.70 ▲8.79 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.29 ▲0.07 | 100.49 ▲0.33 | 42.32 ▼0.16 |
Skt NURCaptcha /wp-admin/options-general.php?page=skt_nurcaptcha | 2,142 | 2.42 | 30.06 | 40.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_option() in wp-content/plugins/skt-nurcaptcha/skt-nurc-admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skt-nurcaptcha/skt-nurcaptcha.php:45
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
skt-nurcaptcha/skt-nurcaptcha.php 92% from 13 tests
The main PHP script in "Skt NURCaptcha" version 3.5.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 578 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,393 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 149 | 271 | 1,927 |
PO File | 2 | 258 | 276 | 816 |
SVG | 1 | 0 | 1 | 339 |
JavaScript | 2 | 2 | 11 | 308 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
6 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/red.png | 23.31KB | 8.95KB | ▼ 61.62% |
img/white.png | 23.73KB | 9.37KB | ▼ 60.52% |
img/clean.png | 19.39KB | 8.56KB | ▼ 55.84% |
img/blackglass.png | 22.65KB | 10.53KB | ▼ 53.52% |
img/dark.png | 26.11KB | 3.78KB | ▼ 85.54% |