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: ▲0.26MB] [CPU: ▼1.83ms] Passed 4 tests
A check of server-side resources used by Iboxindia
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 45.86 ▲0.11 |
Dashboard /wp-admin | 3.61 ▲0.31 | 51.77 ▼4.04 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 54.76 ▲4.91 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 99.80 ▼8.28 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 41.74 ▲5.96 |
Iboxindia /wp-admin/admin.php?page=iboxindia | 3.46 | 42.20 |
Backup Restore /wp-admin/admin.php?page=iboxindia-backup-restore | 3.49 | 47.89 |
Import Data /wp-admin/admin.php?page=iboxindia-import-data | 3.46 | 38.94 |
Dashboard /wp-admin/admin.php?page=iboxindia-dashboard | 3.46 | 38.32 |
Settings /wp-admin/admin.php?page=iboxindia-settings | 3.46 | 38.56 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
iboxindia_settings |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Iboxindia: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲150 | 14.27 ▼0.35 | 1.88 ▲0.01 | 43.12 ▲0.53 |
Dashboard /wp-admin | 2,292 ▲112 | 5.57 ▼0.08 | 84.34 ▼5.75 | 79.61 ▲31.69 |
Posts /wp-admin/edit.php | 2,201 ▲104 | 2.11 ▼0.01 | 41.57 ▲5.39 | 38.09 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,608 ▲80 | 23.01 ▼0.07 | 661.76 ▲44.29 | 57.35 ▲3.59 |
Media Library /wp-admin/upload.php | 1,497 ▲100 | 4.21 ▼0.01 | 100.90 ▲4.08 | 77.20 ▲33.63 |
Iboxindia /wp-admin/admin.php?page=iboxindia | 886 | 2.25 | 29.54 | 27.13 |
Backup Restore /wp-admin/admin.php?page=iboxindia-backup-restore | 1,410 | 2.19 | 32.16 | 34.45 |
Import Data /wp-admin/admin.php?page=iboxindia-import-data | 889 | 2.14 | 31.61 | 28.45 |
Dashboard /wp-admin/admin.php?page=iboxindia-dashboard | 1,059 | 2.25 | 37.75 | 30.77 |
Settings /wp-admin/admin.php?page=iboxindia-settings | 1,054 | 2.54 | 35.67 | 43.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- iboxindia_settings
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/iboxindia/iboxindia.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/iboxindia/includes/functions.php:27
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/iboxindia/iboxindia.php on line 19
- > PHP Warning
Use of undefined constant IBX_WP_PLUGIN_DIR - assumed 'IBX_WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/iboxindia/load.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'IBX_WP_PLUGIN_DIR/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/iboxindia/load.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/iboxindia/iboxindia.php on line 19
- > PHP Warning
require_once(IBX_WP_PLUGIN_DIR/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/iboxindia/load.php on line 3
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=iboxindia-settings
- > Network (severe)
wp-content/plugins/iboxindia/inc/assets/images/logo.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: free, theme, iboxindia
iboxindia/iboxindia.php 92% from 13 tests
The primary PHP file in "Iboxindia" version 1.0.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Git Repository: There should be no Git repositories present in your plugin
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
Good job! No executable or dangerous file extensions detected1,704 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 279 | 438 | 1,294 |
JavaScript | 2 | 18 | 6 | 199 |
CSS | 3 | 17 | 2 | 168 |
YAML | 2 | 10 | 44 | 43 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 23 | 35.38% |
▷ Public methods | 53 | 81.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 18.46% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 2.95KB | 2.77KB | ▼ 5.86% |