Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼5.58ms] Passed 4 tests
An overview of server-side resources used by Payconiq
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 44.77 ▲0.18 |
Dashboard /wp-admin | 3.72 ▲0.37 | 53.85 ▼12.85 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 52.23 ▲1.00 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 91.11 ▼10.66 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 45.18 ▲7.88 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 598 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Payconiq
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.45 | 1.73 ▲0.08 | 44.48 ▲0.93 |
Dashboard /wp-admin | 2,209 ▲21 | 5.06 ▼0.74 | 96.58 ▼11.81 | 38.15 ▼4.14 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.07 | 37.37 ▼2.88 | 32.66 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 23.08 ▲0.03 | 663.78 ▼2.55 | 63.78 ▲9.84 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.03 | 96.81 ▼8.40 | 41.97 ▼4.62 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/grammar/rebuildParsers.php
- 300× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/test/PhpParser/Serializer/XMLTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\BinaryOp' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/test/PhpParser/NodeTraverserTest.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Invoker\\ParameterResolver\\ParameterResolver' not found in wp-content/plugins/wc-payconiq/lib/ioc/php-di/invoker/src/ParameterResolver/TypeHintResolver.php:13
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Stmt' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\odeAbstract' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/Node/Name.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Stmt' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php:8
- > PHP Warning
unlink(wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/grammar/tmp_parser.php): No such file or directory in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/grammar/rebuildParsers.php on line 70
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Scalar\\MagicConst' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php:7
- > PHP Fatal error
Uncaught Error: Interface 'PhpParser\\ErrorHandler' not found in wp-content/plugins/wc-payconiq/lib/ioc/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: payconiq, gateway, payment, woocommerce, wc
wc-payconiq/payconiq.php 85% from 13 tests
This is the main PHP file of "Payconiq" version 1.0.0, 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:
- Main file name: The principal plugin file should be the same as the plugin slug ("wc-payconiq.php" instead of "payconiq.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin26,068 lines of code in 419 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 365 | 4,852 | 6,191 | 20,677 |
Markdown | 25 | 741 | 0 | 2,298 |
yacc | 3 | 284 | 12 | 1,791 |
JSON | 7 | 0 | 0 | 613 |
YAML | 9 | 30 | 1 | 353 |
PO File | 1 | 32 | 39 | 103 |
SVG | 3 | 0 | 1 | 92 |
XML | 4 | 14 | 6 | 82 |
CSS | 1 | 4 | 0 | 37 |
JavaScript | 1 | 6 | 10 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 52 | |
Interfaces | 27 | |
Traits | 0 | |
Classes | 323 | |
▷ Abstract classes | 19 | 5.88% |
▷ Concrete classes | 304 | 94.12% |
▷ Final classes | 7 | 2.30% |
Methods | 2,353 | |
▷ Static methods | 40 | 1.70% |
▷ Public methods | 950 | 40.37% |
▷ Protected methods | 1,307 | 55.55% |
▷ Private methods | 96 | 4.08% |
Functions | 43 | |
▷ Named functions | 21 | 48.84% |
▷ Anonymous functions | 22 | 51.16% |
Constants | 197 | |
▷ Global constants | 4 | 2.03% |
▷ Class constants | 193 | 97.97% |
▷ Public constants | 192 | 99.48% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin