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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼148.54ms] Passed 4 tests
A check of server-side resources used by Orbisius Simple Shortlink
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 33.36 ▼4.55 |
Dashboard /wp-admin | 3.10 ▲0.05 | 46.15 ▼23.42 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 44.88 ▼5.63 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 87.78 ▼560.55 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 33.00 ▼1.12 |
Orbisius Simple Shortlink /wp-admin/options-general.php?page=orb_club_short_link_settings_page | 3.02 | 27.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Orbisius Simple Shortlink
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.82 ▲0.22 | 8.87 ▼1.23 | 48.98 ▲0.63 |
Dashboard /wp-admin | 2,972 ▲38 | 5.89 ▼0.03 | 134.70 ▼25.95 | 95.09 ▼32.30 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 63.39 ▼2.39 | 90.76 ▼12.29 |
Add New Post /wp-admin/post-new.php | 1,875 ▲205 | 19.26 ▲0.13 | 371.86 ▼8.86 | 116.79 ▲10.96 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.01 | 145.64 ▲5.14 | 114.17 ▼0.70 |
Orbisius Simple Shortlink /wp-admin/options-general.php?page=orb_club_short_link_settings_page | 1,738 | 5.27 | 167.62 | 80.64 |
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
The plugin uninstalled completely, with no 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-simple-shortlink/orbisius-simple-shortlink.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-simple-shortlink/orbisius-simple-shortlink-admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: Please add an image for screenshot #1 (Plugin's Settings Page - todo)
orbisius-simple-shortlink/orbisius-simple-shortlink.php 92% from 13 tests
"Orbisius Simple Shortlink" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/lang")
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 detected349 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 71 | 38 | 349 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin