Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.74ms] Passed 4 tests
Server-side resources used by GB Quick launch
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.10 | 43.57 ▼8.50 |
Dashboard /wp-admin | 3.57 ▲0.22 | 52.82 ▼3.73 |
Posts /wp-admin/edit.php | 3.68 ▲0.28 | 56.15 ▲3.92 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.24 | 99.53 ▲7.49 |
Media Library /wp-admin/upload.php | 3.49 ▲0.22 | 39.88 ▼2.66 |
All Quick Launch /wp-admin/edit.php?post_type=gb-quick-launch | 3.54 | 41.14 |
Add New Quick Launch Button /wp-admin/post-new.php?post_type=gb-quick-launch | 3.70 | 63.16 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gb-quick-launch | 3.48 | 42.51 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
category_children |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
GB Quick launch: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲211 | 13.45 ▼0.90 | 8.35 ▲6.65 | 41.85 ▲2.91 |
Dashboard /wp-admin | 2,230 ▲50 | 5.68 ▲0.12 | 105.17 ▲15.59 | 76.37 ▲34.81 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 2.04 ▲0.08 | 40.03 ▲1.25 | 33.18 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 22.96 ▼0.11 | 667.33 ▼14.00 | 59.00 ▲7.23 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.19 ▲0.03 | 100.13 ▼16.90 | 68.96 ▲20.14 |
All Quick Launch /wp-admin/edit.php?post_type=gb-quick-launch | 1,168 | 1.95 | 36.52 | 30.03 |
Add New Quick Launch Button /wp-admin/post-new.php?post_type=gb-quick-launch | 2,960 | 8.40 | 201.08 | 123.16 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gb-quick-launch | 1,508 | 2.17 | 30.45 | 34.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gb-quick-launch/core/functions.php
- > /wp-content/plugins/gb-quick-launch/core/class/class-frontend.php
- > /wp-content/plugins/gb-quick-launch/gb-quick-launch.php
- > /wp-content/plugins/gb-quick-launch/core/class/class-gbql-button.php
- > /wp-content/plugins/gb-quick-launch/core/class/cpt-admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: quick launch, sticky buttons, action button, social sharing, call
gb-quick-launch/gb-quick-launch.php 92% from 13 tests
The entry point to "GB Quick launch" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 plugin1,988 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 183 | 252 | 1,176 |
CSS | 2 | 33 | 3 | 583 |
JavaScript | 2 | 44 | 25 | 229 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.74 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 6.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 63.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 36.17% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.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
11 PNG files occupy 0.27MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/gbql-default.png | 2.89KB | 1.78KB | ▼ 38.34% |
images/gb-quick-launch-gmail.png | 29.51KB | 12.46KB | ▼ 57.77% |
images/gb-quick-launch-whatsapp.png | 33.54KB | 11.23KB | ▼ 66.52% |
images/gb-quick-launch-pinterest.png | 34.54KB | 14.47KB | ▼ 58.09% |
images/gb-quick-launch-googleplus.png | 24.47KB | 8.39KB | ▼ 65.72% |