Benchmarks
Plugin footprint 83% from 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.08MB] [CPU: ▼9.53ms] Passed 4 tests
Server-side resources used by rng-shrotlink
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.82 ▼3.40 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.29 ▼4.97 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 58.49 ▲10.05 |
Add New Post /wp-admin/post-new.php | 5.29 ▼0.60 | 66.62 ▼28.10 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.79 ▼1.65 |
Shortlink Settings /wp-admin/options-general.php?page=shortlink-settings | 3.28 | 37.72 |
Click View /wp-admin/tools.php?page=shl_click_view | 3.31 | 36.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
rngshl_configure_dismiss |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for rng-shrotlink
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 14.64 ▲0.06 | 1.89 ▲0.06 | 42.52 ▼3.30 |
Dashboard /wp-admin | 2,220 ▲43 | 5.65 ▲0.00 | 85.03 ▼9.14 | 43.63 ▼0.31 |
Posts /wp-admin/edit.php | 2,123 ▲26 | 1.95 ▼0.06 | 40.62 ▲5.27 | 40.01 ▲3.60 |
Add New Post /wp-admin/post-new.php | 6,245 ▲4,719 | 19.09 ▼4.28 | 916.56 ▲212.13 | 55.27 ▼1.85 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.21 ▼0.01 | 96.23 ▼19.78 | 42.12 ▼8.28 |
Shortlink Settings /wp-admin/options-general.php?page=shortlink-settings | 817 | 2.01 | 26.50 | 28.18 |
Click View /wp-admin/tools.php?page=shl_click_view | 840 | 1.68 | 25.93 | 28.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in rng-shortlink/assets to your readme.txt
rng-shortlink/rng-shortlink.php 92% from 13 tests
The main file in "rng-shrotlink" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
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
There were no executable files found in this plugin783 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 83 | 187 | 509 |
CSS | 1 | 3 | 9 | 97 |
JavaScript | 1 | 4 | 4 | 75 |
PO File | 1 | 25 | 29 | 75 |
Markdown | 1 | 9 | 0 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 78.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 21.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG files were detected