Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼286.76ms] Passed 4 tests
A check of server-side resources used by WPi Easy Button Shortcode - Create buttons anywhere in wordpress using button shortcode [wpi_easy_button]
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 55.94 ▲5.12 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.80 ▼0.67 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.63 ▲1.87 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.43 ▼1,148.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.53 ▲0.22 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WPi Easy Button Shortcode - Create buttons anywhere in wordpress using button shortcode [wpi_easy_button]
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,797 ▲75 | 15.85 ▲0.17 | 6.02 ▼0.07 | 2.91 ▲0.86 |
Dashboard /wp-admin | 2,895 ▲34 | 6.10 ▼0.11 | 119.45 ▼20.58 | 156.17 ▼5.77 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.22 ▼0.01 | 64.64 ▼1.07 | 141.98 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,752 ▲91 | 20.83 ▲4.44 | 442.56 ▲26.38 | 160.40 ▼1.35 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.49 ▼0.03 | 158.87 ▲20.69 | 195.73 ▲11.03 |
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
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
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpi-easy-button-shortcode/wpi-easy-button-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 ()
wpi-easy-button-shortcode/wpi-easy-button-shortcode.php 85% from 13 tests
The principal PHP file in "WPi Easy Button Shortcode - Create buttons anywhere in wordpress using button shortcode [wpi_easy_button]" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/locale/")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin45 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1 | 1 | 24 |
PHP | 1 | 0 | 12 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin