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.07MB] [CPU: ▼9.26ms] Passed 4 tests
An overview of server-side resources used by Web4x Product Comparison Table
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.81 ▲1.66 |
Dashboard /wp-admin | 3.39 ▲0.05 | 49.51 ▼18.62 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 55.17 ▲10.13 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 84.96 ▼15.86 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.57 ▼4.23 |
All Table /wp-admin/edit.php?post_type=web4xpct | 3.37 | 38.34 |
Add New Table /wp-admin/post-new.php?post_type=web4xpct | 3.35 | 42.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Web4x Product Comparison Table
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲227 | 14.97 ▲1.70 | 1.96 ▼3.01 | 42.88 ▼0.96 |
Dashboard /wp-admin | 2,371 ▲180 | 6.43 ▲1.53 | 129.83 ▲21.25 | 40.35 ▼6.97 |
Posts /wp-admin/edit.php | 2,283 ▲197 | 3.31 ▲1.26 | 51.93 ▲14.34 | 32.77 ▼5.48 |
Add New Post /wp-admin/post-new.php | 1,541 ▲18 | 23.33 ▼0.05 | 650.30 ▼12.14 | 37.51 ▼14.73 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.16 ▼0.05 | 84.04 ▼16.66 | 44.23 ▼4.12 |
All Table /wp-admin/edit.php?post_type=web4xpct | 1,254 | 3.31 | 51.41 | 27.39 |
Add New Table /wp-admin/post-new.php?post_type=web4xpct | 1,707 | 3.74 | 62.16 | 36.93 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 output text when accessed directly:
- > /wp-content/plugins/web4x-product-comparison-table/web4x-product-comparison-table.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web4x-product-comparison-table/Inc/web4x-add-post-type.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web4x-product-comparison-table/Inc/scripts.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires php: Version format is invalid
web4x-product-comparison-table/web4x-product-comparison-table.php Passed 13 tests
The main PHP script in "Web4x Product Comparison Table" version 1.3.0 is automatically included on every request by WordPress
41 characters long description:
Create stuning table for Amazon products.
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 plugin1,121 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 67 | 6 | 765 |
PHP | 5 | 58 | 45 | 299 |
JavaScript | 1 | 15 | 16 | 57 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin