Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/wp-multi-task/wpmt.php+126
Undefined variable: wp_error
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.97ms] Passed 4 tests
This is a short check of server-side resources used by WP Multi Task
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.65 ▲7.41 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.41 ▼5.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.95 ▼5.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.22 ▼14.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.25 ▲1.12 |
Server storage [IO: ▲2.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 52 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wpmt_transaction |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
wpmtpages |
wpmt_version |
Browser metrics Passed 4 tests
WP Multi Task: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲204 | 14.40 ▲0.04 | 17.03 ▲15.14 | 45.86 ▼1.37 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.01 | 88.64 ▼0.38 | 39.16 ▼9.70 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.13 ▲0.19 | 35.74 ▼0.41 | 34.01 ▼6.01 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.42 ▲0.39 | 675.23 ▼0.89 | 51.95 ▼2.93 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▲0.02 | 94.73 ▼8.58 | 48.01 ▲0.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_wpmt_transaction
- This plugin did not uninstall successfully, leaving 8 options in the database
- wpmt_version
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- wpmtpages
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/wp-multi-task/view/login.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-multi-task/wpmt.php 77% from 13 tests
The main file in "WP Multi Task" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- 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
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-multi-task.php" instead of "wpmt.php")
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
Good job! No executable or dangerous file extensions detected29,802 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 3,899 | 2,459 | 16,436 |
CSS | 10 | 116 | 124 | 9,970 |
SVG | 2 | 0 | 0 | 2,959 |
PHP | 9 | 84 | 59 | 437 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 4 | 21.05% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
12 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/right-arow.png | 0.95KB | 0.17KB | ▼ 82.25% |
assets/images/gender_label_white.png | 0.41KB | 0.32KB | ▼ 22.30% |
assets/images/googleplus.png | 3.08KB | 2.16KB | ▼ 29.85% |
assets/images/icon-thick.png | 1.68KB | 1.25KB | ▼ 25.74% |
assets/images/watchingcheckbox.png | 0.47KB | 0.36KB | ▼ 24.79% |