Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼261.28ms] Passed 4 tests
An overview of server-side resources used by Wordpress I love Xm24 Ribbon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 32.55 ▲7.88 |
Dashboard /wp-admin | 3.06 ▲0.01 | 48.07 ▼4.33 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 44.48 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 90.39 ▼1,033.93 |
Media Library /wp-admin/upload.php | 3.01 ▼0.00 | 34.32 ▼4.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wordpress I love Xm24 Ribbon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,694 ▲88 | 15.94 ▲0.38 | 8.81 ▼0.96 | 54.56 ▲0.07 |
Dashboard /wp-admin | 2,929 ▲79 | 5.93 ▲0.10 | 165.16 ▲18.45 | 114.92 ▲7.71 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.00 | 65.88 ▼6.06 | 86.14 ▼14.19 |
Add New Post /wp-admin/post-new.php | 1,656 ▲175 | 16.84 ▼1.53 | 356.07 ▼28.98 | 107.78 ▼11.64 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.99 ▲0.01 | 157.78 ▼10.01 | 115.57 ▼1.51 |
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
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 86% 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
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== i-love-xm24-ribbon ===
)
i-love-xm24-ribbon/ilovexm24.php 77% from 13 tests
The main file in "Wordpress I love Xm24 Ribbon" v. 0.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The plugin description must be longer than 10 characters (currently 0 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("i-love-xm24-ribbon.php" instead of "ilovexm24.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 plugin66 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 27 | 31 |
CSS | 1 | 4 | 0 | 28 |
Markdown | 1 | 3 | 0 | 4 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin