Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼0.64ms] Passed 4 tests
A check of server-side resources used by Customer Service to Content Marketing Converter by Produck
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 40.20 ▼0.72 |
Dashboard /wp-admin | 3.64 ▲0.34 | 51.32 ▼3.29 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 54.42 ▲0.62 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 101.15 ▲3.56 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 42.86 ▲0.83 |
Produck /wp-admin/options-general.php?page=produck-settings | 3.47 | 40.15 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_my_custom_widget |
widget_recent-comments |
db_upgraded |
produck_config |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Customer Service to Content Marketing Converter by Produck
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲173 | 13.65 ▼0.73 | 11.22 ▲9.40 | 41.43 ▼5.36 |
Dashboard /wp-admin | 2,200 ▲23 | 5.67 ▲0.08 | 90.94 ▼2.83 | 42.39 ▼3.26 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.05 ▲0.04 | 42.31 ▼0.40 | 34.30 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.28 ▲5.61 | 647.13 ▼37.35 | 51.97 ▲2.43 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.46 ▲0.20 | 96.98 ▼8.53 | 45.77 ▼0.90 |
Produck /wp-admin/options-general.php?page=produck-settings | 1,019 | 2.09 | 31.59 | 29.82 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_my_custom_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
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
The following issues need your attention
- 16× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/produck/vpage/templateloader.php
- > /wp-content/plugins/produck/vpage/controller.php
- > /wp-content/plugins/produck/gui/quackpagecontent.php
- > /wp-content/plugins/produck/templates/quackdetail.php
- > /wp-content/plugins/produck/templates/quacksoverview.php
- > /wp-content/plugins/produck/vpage/page.php
- > /wp-content/plugins/produck/uninstall.php
- > /wp-content/plugins/produck/gui/chat.php
- > /wp-content/plugins/produck/pluginadministration.php
- > /wp-content/plugins/produck/gui/widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: social media marketing, chat, content marketing
produck/produck.php Passed 13 tests
The entry point to "Customer Service to Content Marketing Converter by Produck" version 1.1.0 is a PHP file that has certain tags in its header comment area
91 characters long description:
This plugin enables you to show Quacks in your shop and integrate the ProDuck Chat Service.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,431 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 270 | 264 | 1,298 |
JavaScript | 3 | 25 | 20 | 129 |
CSS | 4 | 0 | 9 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 17 | 19.54% |
▷ Public methods | 81 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 6.90% |
Functions | 11 | |
▷ Named functions | 1 | 9.09% |
▷ Anonymous functions | 10 | 90.91% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ducky.png | 10.70KB | 4.76KB | ▼ 55.47% |