83% qpmn-pod-by-qp-group

Code Review | QPMN POD by QP Group

WordPress plugin QPMN POD by QP Group scored83%from 54 tests.

About plugin

  • Plugin page: qpmn-pod-by-qp-group
  • Plugin version: 1.1.7
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.2
  • WordPress version: 6.3.1
  • First release: Aug 21, 2023
  • Latest release: Oct 25, 2023
  • Number of updates: 40
  • Update frequency: every 1.8 days
  • Top authors: qppitdev2 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /287 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.43 ▲1.00
Dashboard /wp-admin3.31 ▼0.0443.00 ▼14.46
Posts /wp-admin/edit.php3.36 ▲0.0044.78 ▼1.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0077.49 ▼9.79
Media Library /wp-admin/upload.php3.23 ▲0.0037.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.27 ▼0.071.99 ▲0.3043.65 ▲5.18
Dashboard /wp-admin2,195 ▲205.55 ▼0.1683.42 ▼47.8136.86 ▼18.21
Posts /wp-admin/edit.php2,097 ▼31.98 ▼0.0439.16 ▲4.2638.00 ▲2.85
Add New Post /wp-admin/post-new.php1,526 ▼223.15 ▲0.15708.04 ▲29.8963.35 ▲5.50
Media Library /wp-admin/upload.php1,397 ▼64.14 ▼0.06105.13 ▲2.5948.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

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
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP1682,5636,14410,251
Markdown42060659
JavaScript4124155644
JSON300271
CSS11621123
PO File23864102

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 code0.38
Average class complexity9.45
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity2.61
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces15
Interfaces20
Traits10
Classes276
▷ Abstract classes165.80%
▷ Concrete classes26094.20%
▷ Final classes83.08%
Methods1,664
▷ Static methods1468.77%
▷ Public methods1,19271.63%
▷ Protected methods33019.83%
▷ Private methods1428.53%
Functions84
▷ Named functions4250.00%
▷ Anonymous functions4250.00%
Constants220
▷ Global constants188.18%
▷ Class constants20291.82%
▷ Public constants14873.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