Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.65MB] [CPU: ▼50.24ms] Passed 4 tests
A check of server-side resources used by Manage Issue Based Magazine (Multi-language)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.34 ▼1.12 | 9.99 ▼31.50 |
Dashboard /wp-admin | 2.36 ▼0.94 | 16.78 ▼38.02 |
Posts /wp-admin/edit.php | 2.36 ▼1.00 | 12.10 ▼39.52 |
Add New Post /wp-admin/post-new.php | 2.36 ▼3.53 | 13.49 ▼91.91 |
Media Library /wp-admin/upload.php | 2.36 ▼0.87 | 11.67 ▼25.31 |
Issues /wp-admin/edit-tags.php?taxonomy=issues&post_type=magazine | 2.36 | 12.81 |
Magazine Category /wp-admin/edit-tags.php?taxonomy=magazine_category&post_type=magazine | 2.36 | 12.07 |
Add New /wp-admin/post-new.php?post_type=magazine | 2.36 | 9.41 |
MIM Issue Settings /wp-admin/edit.php?post_type=magazine&page=issue-setting | 2.36 | 14.35 |
All Magazines /wp-admin/edit.php?post_type=magazine | 2.36 | 12.20 |
MIM Plugin Help /wp-admin/edit.php?post_type=magazine&page=help | 2.36 | 13.06 |
Server storage [IO: ▲6.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: 1 new table, 28 new options
New tables |
---|
wp_taxonomymeta |
New WordPress options |
---|
can_compress_scripts |
mim_full_article_display |
widget_mim_current_issue_widget |
widget_theysaidso_widget |
mim_search_behaviour |
mim_issue_display_category |
mim_current_issue |
mim_issue_menu_category |
widget_mim_issue_list_widget |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Manage Issue Based Magazine (Multi-language)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲140 | 13.23 ▼1.42 | 4.59 ▲2.25 | 39.59 ▼9.28 |
Dashboard /wp-admin | 2,253 ▲65 | 5.84 ▲0.94 | 102.34 ▼11.56 | 71.88 ▲31.24 |
Posts /wp-admin/edit.php | 2,133 ▲41 | 2.01 ▲0.02 | 36.69 ▼6.49 | 32.62 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,551 ▲28 | 23.47 ▲2.30 | 672.18 ▼71.65 | 60.78 ▲7.70 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.23 ▼0.02 | 97.16 ▼17.76 | 80.88 ▲34.44 |
Issues /wp-admin/edit-tags.php?taxonomy=issues&post_type=magazine | 1,659 | 3.56 | 52.79 | 72.45 |
Magazine Category /wp-admin/edit-tags.php?taxonomy=magazine_category&post_type=magazine | 1,613 | 3.15 | 45.49 | 95.91 |
Add New /wp-admin/post-new.php?post_type=magazine | 3,142 | 7.84 | 179.51 | 127.69 |
MIM Issue Settings /wp-admin/edit.php?post_type=magazine&page=issue-setting | 1,274 | 2.09 | 26.29 | 50.51 |
All Magazines /wp-admin/edit.php?post_type=magazine | 1,217 | 1.93 | 32.12 | 30.86 |
MIM Plugin Help /wp-admin/edit.php?post_type=magazine&page=help | 835 | 2.03 | 25.47 | 26.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in MIM_Issue_Feature_Post_Widget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options detected upon uninstall: 14 options
- can_compress_scripts
- widget_mim_current_issue_widget
- widget_widget_mim_issue_featured_recent_posts
- widget_mim_current_issue_category_widget
- widget_mim_issue_list_widget
- issues_children
- magazine_category_children
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=magazine&page=help
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in MIM_Issue_Feature_Post_Widget is deprecated since version 4.3.0! Use __construct() instead.
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
Please fix the following
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/manage-issue-based-magazine/taxonomy-magazine_category.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/manage-issue-based-magazine/includes/magazine-listing-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/manage-issue-based-magazine/mim-posttype-taxonomy.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/manage-issue-based-magazine/mim-functions.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/manage-issue-based-magazine/index.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/manage-issue-based-magazine/includes/issue-listing-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/manage-issue-based-magazine/mim-user-field.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/manage-issue-based-magazine/mim-shortcode.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/manage-issue-based-magazine/template-magazine-category-listing.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/manage-issue-based-magazine/mim-widgets.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Manage Listing Of Magazine.), #2 (Add New Magazine.), #3 (Add & Manage Issues.), #4 (Add & Manage Magazine Category.), #5 (Manage Magazine Issue General Settings.), #6 (Demo Of Issue Listing In Website View.), #7 (Demo Of Home Page View. [Visit Home Page](http://mibm.issuemagazineplus.com/)), #8 (Shortcode Samples. [Check More Samples](http://mibm.issuemagazineplus.com/sample-shortcode/)), #9 (Displays Widgets.), #10 (Added Features in Magazine Issue General Settings.), #11 (Displays Issue categories in Primary Menu.), #12 (Displays Magazine Listing.), #13 (Displays Issue Listing.)
manage-issue-based-magazine/index.php 77% from 13 tests
The main file in "Manage Issue Based Magazine (Multi-language)" v. 1.8 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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("manage-issue-based-magazine.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 296 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected5,685 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 464 | 648 | 2,709 |
PO File | 5 | 605 | 605 | 1,636 |
CSS | 4 | 35 | 60 | 1,158 |
JavaScript | 5 | 34 | 25 | 182 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
14 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |