Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.29ms] Passed 4 tests
A check of server-side resources used by Keyword Difficulty Tool
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 35.57 ▼0.97 |
Dashboard /wp-admin | 3.08 ▲0.03 | 58.25 ▲8.07 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 49.40 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.07 ▼566.21 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 36.52 ▲1.04 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Keyword Difficulty Tool
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,724 ▲153 | 15.84 ▲0.45 | 9.53 ▼0.23 | 60.96 ▲11.69 |
Dashboard /wp-admin | 2,981 ▲47 | 5.89 ▼0.24 | 144.52 ▲0.66 | 117.63 ▼5.96 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 2.69 ▲0.00 | 66.39 ▼6.78 | 73.00 ▼21.94 |
Add New Post /wp-admin/post-new.php | 1,698 ▲15 | 18.42 ▼0.33 | 410.11 ▲3.61 | 129.04 ▲17.54 |
Media Library /wp-admin/upload.php | 1,843 ▲36 | 5.02 ▼0.01 | 137.19 ▼31.54 | 148.59 ▲21.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/keyword-difficulty-tool/includes/footer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: keyword difficulty tool, keyword difficulty checker
keyword-difficulty-tool/keyword-difficulty-tool.php Passed 13 tests
"Keyword Difficulty Tool" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
98 characters long description:
Keyword Difficulty Tool Be smart, competitive keywords are hard to rank, let's find an easier one.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected7,098 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1,512 | 14 | 6,181 |
PHP | 7 | 161 | 136 | 917 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 66.67% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/keyword-difficulty-level-medium.png | 6.51KB | 5.47KB | ▼ 16.02% |
images/keyword-difficulty-level-easy.png | 7.62KB | 6.53KB | ▼ 14.31% |
images/keyword-difficulty-level-high.png | 8.05KB | 6.96KB | ▼ 13.59% |
images/icon.png | 2.45KB | 1.05KB | ▼ 56.91% |