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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼146.59ms] Passed 4 tests
An overview of server-side resources used by Ultimate Icon Shortcodes - LITE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 41.65 ▲8.78 |
Dashboard /wp-admin | 3.08 ▲0.02 | 50.19 ▼11.32 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 54.99 ▲1.24 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 102.32 ▼570.24 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 36.74 ▼6.04 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Icon Shortcodes - LITE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲117 | 15.90 ▲0.24 | 11.89 ▲2.00 | 53.08 ▼0.72 |
Dashboard /wp-admin | 2,970 ▲36 | 6.07 ▲0.11 | 155.99 ▼12.71 | 122.87 ▲1.93 |
Posts /wp-admin/edit.php | 2,745 ▲6 | 2.85 ▲0.13 | 71.52 ▼8.47 | 90.46 ▼3.31 |
Add New Post /wp-admin/post-new.php | 1,506 ▼109 | 18.66 ▼2.78 | 421.45 ▲108.52 | 113.96 ▼5.12 |
Media Library /wp-admin/upload.php | 1,813 ▲65 | 5.04 ▼0.03 | 179.35 ▲8.17 | 120.24 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ultimate-icon-shortcodes/_/fontawesome_array.php
- > /wp-content/plugins/ultimate-icon-shortcodes/overlay.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ultimate-icon-shortcodes/index.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: Invalid plugin version format
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== ultimate-icon-shortcodes ===
)
ultimate-icon-shortcodes/index.php 85% from 13 tests
This is the main PHP file of "Ultimate Icon Shortcodes - LITE" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "3")
- Main file name: The principal plugin file should be the same as the plugin slug ("ultimate-icon-shortcodes.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected4,491 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 17 | 72 | 3,487 |
PHP | 3 | 84 | 22 | 538 |
SVG | 1 | 0 | 0 | 399 |
JavaScript | 1 | 30 | 8 | 67 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.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 | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.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 | 6 | |
▷ Named functions | 6 | 100.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 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
20x20.png | 1.93KB | 0.97KB | ▼ 49.57% |