Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.46ms] Passed 4 tests
This is a short check of server-side resources used by InstantClick
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.45 ▼10.48 |
Dashboard /wp-admin | 3.39 ▲0.04 | 48.89 ▼16.96 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.37 ▼0.80 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.38 ▼13.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.33 ▲1.63 |
InstantClick /wp-admin/options-general.php?page=instantclick | 3.28 | 31.36 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for InstantClick
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.22 ▼0.01 | 3.88 ▲2.03 | 42.67 ▼7.08 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.09 | 87.65 ▼3.05 | 39.33 ▼1.24 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.04 ▲0.02 | 38.66 ▲0.34 | 38.88 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.10 ▲0.05 | 666.62 ▼14.17 | 62.22 ▲13.64 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.12 | 96.77 ▼8.78 | 44.34 ▼0.32 |
InstantClick /wp-admin/options-general.php?page=instantclick | 1,172 | 2.38 | 52.51 | 43.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: links, performance, pagespeed, instantclick
instantclick/instantclick.php 92% from 13 tests
"InstantClick" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,136 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 125 | 137 | 550 |
PHP | 3 | 91 | 43 | 294 |
CSS | 1 | 42 | 28 | 247 |
Markdown | 1 | 17 | 0 | 45 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 33 | |
▷ Static methods | 13 | 39.39% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 1 | 3.03% |
▷ Private methods | 3 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
PNG images were not found in this plugin