Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼166.32ms] Passed 4 tests
An overview of server-side resources used by Easy URL Shortcodes (EUS)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 41.94 ▲16.50 |
Dashboard /wp-admin | 3.08 ▲0.03 | 58.44 ▲10.55 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 55.46 ▲4.78 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 100.50 ▼678.39 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 36.86 ▼2.22 |
Easy URL Shortcodes (EUS) /wp-admin/options-general.php?page=eus_options | 3.00 | 31.86 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Easy URL Shortcodes (EUS)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,694 ▲122 | 15.86 ▲0.19 | 14.40 ▲5.29 | 50.36 ▼2.09 |
Dashboard /wp-admin | 2,971 ▲40 | 5.92 ▲0.00 | 161.84 ▼22.93 | 146.05 ▲32.17 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.01 | 80.72 ▼0.03 | 106.78 ▲6.52 |
Add New Post /wp-admin/post-new.php | 1,618 ▲3 | 21.48 ▼0.02 | 302.42 ▼5.03 | 112.56 ▼2.77 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.05 ▲0.03 | 185.29 ▲21.52 | 128.86 ▲11.36 |
Easy URL Shortcodes (EUS) /wp-admin/options-general.php?page=eus_options | 1,483 | 2.10 | 59.40 | 85.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-url-shortcodes-eus/easy-url-shortcodes.php:25
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% 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: Screenshot #1 (Settings page screenshot) image not found
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== easy-url-shortcodes-eus ===
)
easy-url-shortcodes-eus/easy-url-shortcodes.php 92% from 13 tests
"Easy URL Shortcodes (EUS)" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-url-shortcodes-eus.php" instead of "easy-url-shortcodes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected201 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 24 | 201 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 17 | |
▷ Named functions | 17 | 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.09MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 96.18KB | 48.35KB | ▼ 49.73% |