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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.61MB] [CPU: ▲0.91ms] Passed 4 tests
This is a short check of server-side resources used by PlzShareMe URL Shortener & Viral Booster
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 48.90 ▲0.02 |
Dashboard /wp-admin | 3.38 ▲0.07 | 55.68 ▲0.79 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.22 ▼3.33 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 1,107.91 ▲1,000.99 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 44.07 ▲6.15 |
PlzShare.Me /wp-admin/admin.php?page=short_link_settings_page | 3.28 | 41.43 |
Settings /wp-admin/admin.php?page=short_link_settings_page2 | 3.29 | 35.18 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for PlzShareMe URL Shortener & Viral Booster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.41 ▲0.25 | 1.77 ▼0.31 | 45.96 ▲0.99 |
Dashboard /wp-admin | 2,229 ▲52 | 4.91 ▼0.71 | 105.84 ▲10.59 | 82.62 ▲37.25 |
Posts /wp-admin/edit.php | 2,137 ▲34 | 2.35 ▲0.39 | 43.60 ▲2.65 | 35.77 ▼3.79 |
Add New Post /wp-admin/post-new.php | 6,251 ▲4,714 | 26.22 ▲7.92 | 974.50 ▲299.07 | 56.78 ▼9.55 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.51 ▲0.28 | 111.05 ▼4.86 | 65.91 ▲20.16 |
PlzShare.Me /wp-admin/admin.php?page=short_link_settings_page | 1,022 | 2.38 | 41.17 | 49.72 |
Settings /wp-admin/admin.php?page=short_link_settings_page2 | 985 | 1.93 | 27.78 | 37.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
plzshareme-url-shortener-viral-booster/plzshareme_shorturl.php 77% from 13 tests
The main PHP file in "PlzShareMe URL Shortener & Viral Booster" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 479 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("plzshareme-url-shortener-viral-booster.php" instead of "plzshareme_shorturl.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
Good job! No executable or dangerous file extensions detected746 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 61 | 42 | 446 |
JavaScript | 1 | 0 | 4 | 162 |
CSS | 1 | 15 | 2 | 138 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.13MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/google-plzshareme-icon.png | 15.82KB | 1.73KB | ▼ 89.05% |
icon.png | 15.91KB | 0.82KB | ▼ 94.82% |
icons/analyticsicon.png | 17.71KB | 1.10KB | ▼ 93.81% |
icons/facebook-plzshareme-icon.png | 16.49KB | 1.65KB | ▼ 90.01% |
icons/twitter-plzshareme-icon.png | 15.56KB | 1.45KB | ▼ 90.67% |