Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼3.65ms] Passed 4 tests
An overview of server-side resources used by Csomagpont - Szállítás és logisztika
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 47.72 ▲4.32 |
Dashboard /wp-admin | 3.57 ▲0.27 | 51.26 ▼4.38 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 53.38 ▲0.23 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 90.51 ▼14.75 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 42.66 ▲5.93 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Csomagpont - Szállítás és logisztika: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.58 | 1.83 ▼0.01 | 44.33 ▼4.43 |
Dashboard /wp-admin | 2,200 ▲15 | 4.85 ▼1.01 | 104.53 ▲1.93 | 40.93 ▼7.96 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.02 ▲0.01 | 40.12 ▼2.17 | 35.17 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 23.62 ▲6.18 | 745.28 ▲87.60 | 59.40 ▲7.81 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.00 | 99.65 ▼6.81 | 48.41 ▲1.22 |
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 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/csomagpont/csomagpont.php on line 22
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/csomagpont/csomagpont.php on line 22
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/csomagpont/csomagpont.php on line 22
- > PHP Warning
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: gls, sprinter, fma, logisztika, csomagpont...
csomagpont/csomagpont.php Passed 13 tests
This is the main PHP file of "Csomagpont - Szállítás és logisztika" version 1.0.27, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
Szállítási megoldások 4 futárszolgálattal, egy rendszerben kezelve
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,106 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 342 | 110 | 1,456 |
JavaScript | 3 | 58 | 7 | 438 |
CSS | 1 | 39 | 7 | 212 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 28.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 89.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.17% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 6 | |
▷ Global constants | 6 | 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
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/csomagpont-icon.png | 2.10KB | 1.61KB | ▼ 23.45% |
images/csomagpont-signature.png | 3.87KB | 1.92KB | ▼ 50.48% |
images/csomagpont-save.png | 3.09KB | 3.43KB | 0.00% |
images/csomagpont-package-barcode.png | 24.04KB | 8.39KB | ▼ 65.08% |