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: ▲1.34MB] [CPU: ▲2.25ms] Passed 4 tests
A check of server-side resources used by WeldPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.76 ▲1.30 | 52.42 ▲10.03 |
Dashboard /wp-admin | 4.71 ▲1.37 | 54.17 ▼3.31 |
Posts /wp-admin/edit.php | 4.76 ▲1.41 | 55.60 ▲4.79 |
Add New Post /wp-admin/post-new.php | 7.25 ▲1.37 | 90.06 ▼2.52 |
Media Library /wp-admin/upload.php | 4.57 ▲1.35 | 46.35 ▲13.37 |
Integration /wp-admin/admin.php?page=WELDPRESS-integration | 4.55 | 39.06 |
WeldPress Solution /wp-admin/admin.php?page=WELDPRESS | 4.68 | 40.95 |
Add New /wp-admin/admin.php?page=WELDPRESS-new | 4.64 | 287.08 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 76 new files
Database: no new tables, 7 new options
New WordPress options |
---|
WELDPRESS |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WeldPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 13.78 ▼0.63 | 10.78 ▲9.13 | 42.83 ▲0.09 |
Dashboard /wp-admin | 2,213 ▲39 | 5.56 ▼0.01 | 80.84 ▼5.60 | 40.22 ▲0.50 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.04 ▲0.02 | 34.65 ▼5.19 | 34.98 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.18 ▲0.16 | 671.41 ▲19.37 | 55.41 ▲1.62 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.17 ▲0.02 | 102.13 ▲7.13 | 43.50 ▲0.44 |
Integration /wp-admin/admin.php?page=WELDPRESS-integration | 905 | 2.30 | 35.54 | 27.61 |
WeldPress Solution /wp-admin/admin.php?page=WELDPRESS | 1,278 | 2.00 | 30.37 | 39.18 |
Add New /wp-admin/admin.php?page=WELDPRESS-new | 898 | 1.54 | 6.92 | 20.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/weldpress/admin/edit-contact-form.php
- 34× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/really-simple-captcha.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/checkbox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/select.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/weldpress/modules/akismet.php:7
- > PHP Fatal error
require_once(): Failed opening required 'WELD_PRESS_PLUGIN_DIR/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/weldpress/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WELD_PRESS_FormTag' not found in wp-content/plugins/weldpress/includes/shortcodes.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/flamingo.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/response.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weldpress/modules/count.php:8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/weldpress/admin/includes/class-contact-forms-list-table.php on line 4
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: iot, component, directive, code, javascript...
weldpress/weldpress.php 85% from 13 tests
The main PHP file in "WeldPress" ver. 4.9 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 203 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin11,131 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 2,490 | 195 | 7,619 |
CSS | 7 | 142 | 116 | 1,927 |
JavaScript | 5 | 308 | 251 | 1,585 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 26 | 12.21% |
▷ Public methods | 177 | 83.10% |
▷ Protected methods | 1 | 0.47% |
▷ Private methods | 35 | 16.43% |
Functions | 229 | |
▷ Named functions | 229 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 17 | 68.00% |
▷ Class constants | 8 | 32.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
includes/js/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
includes/js/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |