Benchmarks
Plugin footprint 83% from 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.09MB] [CPU: ▼11.88ms] Passed 4 tests
Server-side resources used by DX Share Selection
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.52 ▼3.46 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.93 ▼12.75 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.65 ▼7.15 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.72 ▼24.17 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.77 ▲0.59 |
DX Share Selection /wp-admin/options-general.php?page=dx-share-selection | 3.36 | 36.05 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
dxss_active |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
dxss_just_activated |
Browser metrics Passed 4 tests
DX Share Selection: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,009 ▲223 | 14.12 ▼0.23 | 17.30 ▲14.99 | 41.11 ▼5.07 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.03 | 90.10 ▲1.33 | 41.32 ▲6.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.02 | 34.54 ▲0.83 | 33.58 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.34 ▼0.30 | 661.00 ▲0.45 | 51.39 ▲1.41 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.16 ▼0.04 | 97.73 ▼3.77 | 42.94 ▼2.87 |
DX Share Selection /wp-admin/options-general.php?page=dx-share-selection | 1,647 | 2.11 | 44.79 | 48.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- dxss_active
- dxss_just_activated
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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 items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/dx-share-selection/templates/sidebar-right-help.php
- > /wp-content/plugins/dx-share-selection/templates/sidebar-right-plugins.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/dx-share-selection/templates/dxss.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=dx-share-selection
- > Network (severe)
favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #3, #4 in dx-share-selection/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
dx-share-selection/dx-share-selection.php 92% from 13 tests
Analyzing the main PHP file in "DX Share Selection" version 1.5
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,934 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 141 | 100 | 729 |
PHP | 9 | 113 | 236 | 713 |
CSS | 5 | 96 | 19 | 492 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 9 | 33.33% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/farbtastic/wheel.png | 11.46KB | 6.53KB | ▼ 43.01% |
images/paypalDonateButton.png | 5.08KB | 2.58KB | ▼ 49.21% |
js/farbtastic/mask.png | 1.97KB | 4.18KB | 0.00% |
images/admin-sprites.png | 6.30KB | 3.03KB | ▼ 51.85% |
images/settings.png | 1.06KB | 0.96KB | ▼ 9.15% |