Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼31.56ms] Passed 4 tests
Server-side resources used by IM WP MultiBlocks Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.31 ▼2.35 |
Dashboard /wp-admin | 3.05 ▼0.25 | 27.16 ▼23.90 |
Posts /wp-admin/edit.php | 3.05 ▼0.30 | 27.21 ▼25.97 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.83 | 26.83 ▼66.37 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 24.81 ▼10.00 |
IM WP MultiBlocks Lite /wp-admin/options-general.php?page=im-wp-multiblocks-lite/im-wp-multiblocks-lite.php | 3.05 | 24.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
im-wp-lite-mb-active |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
IM WP MultiBlocks Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.16 | 1.81 ▲0.01 | 43.29 ▲0.17 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.99 | 111.73 ▲4.72 | 43.89 ▼2.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.04 | 35.51 ▼9.90 | 33.32 ▼7.07 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.37 ▲5.92 | 681.74 ▼22.84 | 55.68 ▼0.37 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.23 ▼0.00 | 111.65 ▲9.13 | 47.74 ▲1.78 |
IM WP MultiBlocks Lite /wp-admin/options-general.php?page=im-wp-multiblocks-lite/im-wp-multiblocks-lite.php | 885 | 2.05 | 26.30 | 41.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- im-wp-lite-mb-active
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=im-wp-multiblocks-lite/im-wp-multiblocks-lite.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% 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
Please fix the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(IM_WP_LITE_MB_DIRincludes/im-wp-lite-mbsettings.class.php): failed to open stream: No such file or directory in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbadmin.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/im-wp-multiblocks-lite/im-wp-multiblocks-lite.php:44
- > PHP Warning
require_once(IM_WP_LITE_MB_DIRincludes/im-wp-lite-mbsettings.class.php): failed to open stream: No such file or directory in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbcore.php on line 40
- > PHP Fatal error
require_once(): Failed opening required 'IM_WP_LITE_MB_DIRincludes/im-wp-lite-mbsettings.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbcore.php on line 40
- > PHP Warning
Use of undefined constant IM_WP_LITE_MB_DIR - assumed 'IM_WP_LITE_MB_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbcore.php on line 40
- > PHP Warning
Use of undefined constant IM_WP_LITE_MB_DIR - assumed 'IM_WP_LITE_MB_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbadmin.php on line 40
- > PHP Fatal error
require_once(): Failed opening required 'IM_WP_LITE_MB_DIRincludes/im-wp-lite-mbsettings.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/im-wp-multiblocks-lite/includes/im-wp-lite-mbadmin.php on line 40
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
7 plugin tags: direct, post, middle, adman, google...
im-wp-multiblocks-lite/im-wp-multiblocks-lite.php Passed 13 tests
"IM WP MultiBlocks Lite" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
44 characters long description:
Lets you insert your ad-code (like AdSense).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin490 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 133 | 240 | 490 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 9 | 45.00% |
▷ Protected methods | 11 | 55.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin