Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.30ms] Passed 4 tests
Analyzing server-side resources used by Invelity GLS ParcelShop
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 45.37 ▲4.62 |
Dashboard /wp-admin | 3.39 ▲0.09 | 880.55 ▲827.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.79 ▲0.72 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.83 ▼4.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.51 ▼0.06 |
Server storage [IO: ▲0.27MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Invelity GLS ParcelShop: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 13.25 ▼1.12 | 2.06 ▲0.26 | 44.25 ▼1.49 |
Dashboard /wp-admin | 2,224 ▲21 | 4.80 ▼0.30 | 115.13 ▲12.86 | 43.21 ▼1.54 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.00 | 38.13 ▲0.64 | 38.86 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,529 ▼12 | 17.62 ▼0.59 | 677.48 ▲65.51 | 47.12 ▼3.22 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.29 ▼0.02 | 99.70 ▼1.22 | 42.70 ▼1.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/invelity-gls-parcelshop/invelity-gls-parcelshop.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/invelity-gls-parcelshop/invelity-gls-parcelshop.php:17
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/invelity-gls-parcelshop/invelity-gls-parcelshop.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/invelity-gls-parcelshop/invelity-gls-parcelshop.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: Plugin contributors not specified
invelity-gls-parcelshop/invelity-gls-parcelshop.php Passed 13 tests
Analyzing the main PHP file in "Invelity GLS ParcelShop" version 1.0.2
30 characters long description:
Plugin Invelity GLS ParcelShop
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,937 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 112 | 26 | 1,063 |
JavaScript | 3 | 82 | 40 | 1,040 |
PHP | 12 | 280 | 67 | 823 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 33 | 80.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 19.51% |
Functions | 23 | |
▷ Named functions | 18 | 78.26% |
▷ Anonymous functions | 5 | 21.74% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/map/marker-balikomat.png | 2.14KB | 1.29KB | ▼ 39.59% |
public/img/gls-logo.png | 13.28KB | 12.81KB | ▼ 3.52% |
public/img/map/marker-parcel.png | 2.17KB | 1.29KB | ▼ 40.40% |