Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.30MB] [CPU: ▼10.08ms] Passed 4 tests
A check of server-side resources used by Track Package отследживание посылок Новая Почта, Интайм, Автолюкс, Деливери и УкрПочта
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.75 ▼33.76 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.51 ▼3.21 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.38 ▲2.84 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 85.66 ▼3.84 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.71 ▲0.49 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
track_package_version |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Track Package отследживание посылок Новая Почта, Интайм, Автолюкс, Деливери и УкрПочта
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.22 ▲0.22 | 2.01 ▲0.55 | 36.59 ▼1.80 |
Dashboard /wp-admin | 2,212 ▲35 | 5.61 ▲0.03 | 83.72 ▼7.82 | 36.45 ▼2.81 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.20 ▲0.17 | 35.86 ▼5.51 | 31.78 ▼6.64 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 22.78 ▼0.12 | 581.51 ▼49.27 | 61.20 ▼6.04 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.28 ▲0.05 | 102.46 ▼4.48 | 43.29 ▼2.13 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- track_package_version
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 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 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
Please fix the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/track-package/includes/shortcode/class-track-package-shortcode-public.php
- > /wp-content/plugins/track-package/includes/admin/views/main.php
- > /wp-content/plugins/track-package/includes/class-track-package.php
- > /wp-content/plugins/track-package/includes/admin/class-track-package-admin.php
- > /wp-content/plugins/track-package/track-package.php
- > /wp-content/plugins/track-package/includes/admin/class-track-package-admin-pages.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: The plugin tags were not defined
track-package/track-package.php 85% from 13 tests
The main file in "Track Package отследживание посылок Новая Почта, Интайм, Автолюкс, Деливери и УкрПочта" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 260 characters long)
- Plugin Name: Please shorten the plugin name (currently 147 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,602 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 144 | 4 | 895 |
JavaScript | 2 | 18 | 2 | 396 |
PHP | 9 | 140 | 435 | 311 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 24 | |
▷ Static methods | 9 | 37.50% |
▷ Public methods | 17 | 70.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 29.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin