Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.26ms] Passed 4 tests
Analyzing server-side resources used by QPMN POD by QP Group
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.43 ▲1.00 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.00 ▼14.46 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.78 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.49 ▼9.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.47 ▲4.45 |
Server storage [IO: ▲1.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 386 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
QPMN POD by QP Group: 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,814 ▲68 | 14.27 ▼0.07 | 1.99 ▲0.30 | 43.65 ▲5.18 |
Dashboard /wp-admin | 2,195 ▲20 | 5.55 ▼0.16 | 83.42 ▼47.81 | 36.86 ▼18.21 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.04 | 39.16 ▲4.26 | 38.00 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.15 ▲0.15 | 708.04 ▲29.89 | 63.35 ▲5.50 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.14 ▼0.06 | 105.13 ▲2.59 | 48.97 ▲1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 196× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Handler/SqsHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/qpmn-pod-by-qp-group/vendor/monolog/monolog/src/Monolog/Handler/SqsHandler.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/qpmn-pod-by-qp-group/vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Handler/LogglyHandler.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php:23
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/qpmn-pod-by-qp-group/vendor/psr/log/Psr/Log/Test/TestLogger.php:57
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/psr/log/Psr/Log/Test/TestLogger.php:57
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/qpmn-pod-by-qp-group/1.1.7/vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (QPMN Integration Settings), #2 (QPMN Shipping Settings)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
qpmn-pod-by-qp-group/qpmn-pod-by-qp-group.php 92% from 13 tests
This is the main PHP file of "QPMN POD by QP Group" version 1.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 215 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin12,050 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 168 | 2,563 | 6,144 | 10,251 |
Markdown | 4 | 206 | 0 | 659 |
JavaScript | 4 | 124 | 155 | 644 |
JSON | 3 | 0 | 0 | 271 |
CSS | 1 | 16 | 21 | 123 |
PO File | 2 | 38 | 64 | 102 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 20 | |
Traits | 10 | |
Classes | 276 | |
▷ Abstract classes | 16 | 5.80% |
▷ Concrete classes | 260 | 94.20% |
▷ Final classes | 8 | 3.08% |
Methods | 1,664 | |
▷ Static methods | 146 | 8.77% |
▷ Public methods | 1,192 | 71.63% |
▷ Protected methods | 330 | 19.83% |
▷ Private methods | 142 | 8.53% |
Functions | 84 | |
▷ Named functions | 42 | 50.00% |
▷ Anonymous functions | 42 | 50.00% |
Constants | 220 | |
▷ Global constants | 18 | 8.18% |
▷ Class constants | 202 | 91.82% |
▷ Public constants | 148 | 73.27% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin