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.11MB] [CPU: ▼4.22ms] Passed 4 tests
An overview of server-side resources used by Inpost Paczkomaty
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.16 ▼0.22 |
Dashboard /wp-admin | 3.42 ▲0.08 | 44.99 ▼17.86 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.52 ▲4.43 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 88.30 ▼0.27 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.79 ▲1.46 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Inpost Paczkomaty
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.72 ▲0.17 | 1.72 ▲0.01 | 39.92 ▼7.65 |
Dashboard /wp-admin | 2,195 ▲15 | 5.60 ▼0.05 | 88.86 ▲2.18 | 40.29 ▼1.65 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.94 ▼0.02 | 39.17 ▼0.96 | 35.27 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 25.05 ▲1.73 | 610.15 ▲4.43 | 59.71 ▲5.12 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.09 | 94.69 ▼20.00 | 40.73 ▼7.54 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
inpost-paczkomaty/inpost-paczkomaty.php Passed 13 tests
The principal PHP file in "Inpost Paczkomaty" v. 1.0.27 is loaded by WordPress automatically on each request
53 characters long description:
Plugin do obsługi paczkomatów inpost w woocommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin916 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 162 | 206 | 741 |
JavaScript | 1 | 31 | 2 | 112 |
PO File | 1 | 20 | 22 | 63 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 1 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.73MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot_2.png | 345.99KB | 132.39KB | ▼ 61.74% |
assets/Screenshot_4.png | 6.01KB | 3.70KB | ▼ 38.43% |
assets/screenshot-2.png | 345.99KB | 132.39KB | ▼ 61.74% |
assets/Screenshot_3.png | 14.07KB | 7.38KB | ▼ 47.55% |
assets/screenshot-4.png | 6.01KB | 3.70KB | ▼ 38.43% |