Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.44ms] Passed 4 tests
Server-side resources used by The Welcomizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.32 | 46.05 ▲2.58 |
Dashboard /wp-admin | 3.61 ▲0.31 | 44.23 ▼1.80 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 43.81 ▼5.91 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 93.13 ▲3.36 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 39.53 ▲8.08 |
The Welcomizer /wp-admin/themes.php?page=the-welcomizer | 3.44 | 30.15 |
Server storage [IO: ▲2.69MB] [DB: ▲0.01MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/the-welcomizer/" and "wp-content/uploads/"
- (new file) wp-content/twiz/export/backup/.empty
Filesystem: 176 new files
Database: 1 new table, 21 new options
New tables |
---|
wp_the_welcomizer |
New WordPress options |
---|
twiz_toggle |
twiz_hardsections |
twiz_db_version |
twiz_library |
widget_recent-posts |
widget_recent-comments |
twiz_admin |
db_upgraded |
theysaidso_admin_options |
twiz_global_status |
... |
Browser metrics Passed 4 tests
Checking browser requirements for The Welcomizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 14.77 ▲0.37 | 1.85 ▲0.07 | 42.83 ▼0.30 |
Dashboard /wp-admin | 2,222 ▲31 | 4.89 ▲0.01 | 98.65 ▼0.11 | 38.43 ▼2.10 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 1.98 ▼0.06 | 39.97 ▲3.05 | 33.98 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 23.60 ▲6.12 | 653.18 ▲31.16 | 46.84 ▼14.25 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.20 ▼0.01 | 96.74 ▼4.41 | 43.63 ▲2.17 |
The Welcomizer /wp-admin/themes.php?page=the-welcomizer | 892 | 2.04 | 21.68 | 36.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/the-welcomizer/includes/twiz.installation.class.php+720
Illegal string offset 'delete_all'
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/the-welcomizer/twiz-ajax.js.php
- > /wp-content/plugins/the-welcomizer/includes/jquery/tinymce-shortcode/twiz-tinymce-shortcode.js.php
- > /wp-content/plugins/the-welcomizer/includes/import/server/php.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.ajax.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.admin.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.library.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.admin.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.group.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.menu.class.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/the-welcomizer/twiz-index.php:53
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.menu.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.view.class.php:20
- > PHP Fatal error
Uncaught Error: Class 'Twiz' not found in wp-content/plugins/the-welcomizer/includes/twiz.output.class.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: There are too many tags (65 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Panel when viewing data.), #2 (Panel when adding a new animation.)
the-welcomizer/twiz-index.php 92% from 13 tests
The primary PHP file in "The Welcomizer" version 2.8.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("the-welcomizer.php" instead of "twiz-index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin23,372 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 4,869 | 883 | 13,748 |
CSS | 7 | 3 | 1 | 6,187 |
JavaScript | 20 | 458 | 1,024 | 2,228 |
PO File | 2 | 617 | 1,212 | 1,081 |
Markdown | 1 | 39 | 0 | 113 |
SVG | 1 | 0 | 0 | 15 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 169)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 142.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 621.00 |
Average method complexity | 10.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 169.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 237 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 102 | 43.04% |
▷ Protected methods | 23 | 9.70% |
▷ Private methods | 112 | 47.26% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 383 | |
▷ Global constants | 5 | 1.31% |
▷ Class constants | 378 | 98.69% |
▷ Public constants | 378 | 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
68 compressed PNG files occupy 1.23MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/yellow/images/twiz-arrow-ne.png | 1.69KB | 1.48KB | ▼ 12.43% |
skins/yellow/images/twiz-arrow-n.png | 1.47KB | 1.38KB | ▼ 6.56% |
skins/_default/images/twiz-arrow-se.png | 1.89KB | 1.58KB | ▼ 16.31% |
skins/red/images/twiz-arrow-sw.png | 1.83KB | 1.58KB | ▼ 13.40% |
skins/blue/images/twiz-arrow-w.png | 1.52KB | 1.39KB | ▼ 8.47% |