Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲0.77ms] 75% from 4 tests
An overview of server-side resources used by MnumiDesigner - WooCommerce Product Designer for Photo Books, Photo Calendars and more
Please have a look at the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 994.98ms on /wp-admin/admin.php?page=mnumidesigner)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 43.10 ▲5.45 |
Dashboard /wp-admin | 4.31 ▲1.00 | 54.58 ▲6.74 |
Posts /wp-admin/edit.php | 4.37 ▲1.01 | 57.81 ▲7.69 |
Add New Post /wp-admin/post-new.php | 6.93 ▲1.04 | 92.59 ▼16.74 |
Media Library /wp-admin/upload.php | 4.17 ▲0.93 | 42.71 ▲7.61 |
Projects /wp-admin/admin.php?page=mnumidesigner-projects | 4.14 | 42.15 |
Settings /wp-admin/admin.php?page=mnumidesigner-settings | 4.13 | 37.18 |
Translations /wp-admin/admin.php?page=mnumidesigner-translations | 4.14 | 39.52 |
Calendars /wp-admin/admin.php?page=mnumidesigner-calendars | 4.70 | 517.99 |
All templates /wp-admin/admin.php?page=mnumidesigner | 5.43 | 994.98 |
Server storage [IO: ▲0.38MB] [DB: ▲0.06MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
MnumiDesigner - WooCommerce Product Designer for Photo Books, Photo Calendars and more: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲180 | 13.41 ▼0.96 | 1.77 ▲0.07 | 40.68 ▼0.55 |
Dashboard /wp-admin | 2,321 ▲133 | 4.88 ▲0.00 | 108.34 ▼4.91 | 39.55 ▼0.93 |
Posts /wp-admin/edit.php | 2,207 ▲118 | 2.07 ▲0.03 | 37.52 ▼2.87 | 36.10 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,553 ▲33 | 17.67 ▼5.71 | 679.87 ▲57.84 | 55.55 ▼4.63 |
Media Library /wp-admin/upload.php | 1,506 ▲118 | 4.21 ▼0.02 | 97.23 ▼3.56 | 42.64 ▼1.19 |
Projects /wp-admin/admin.php?page=mnumidesigner-projects | 1,349 | 3.24 | 57.70 | 29.73 |
Settings /wp-admin/admin.php?page=mnumidesigner-settings | 963 | 2.39 | 37.64 | 28.97 |
Translations /wp-admin/admin.php?page=mnumidesigner-translations | 1,208 | 3.03 | 53.46 | 25.75 |
Calendars /wp-admin/admin.php?page=mnumidesigner-calendars | 1,202 | 3.00 | 47.43 | 27.28 |
All templates /wp-admin/admin.php?page=mnumidesigner | 1,393 | 3.05 | 48.99 | 27.06 |
Uninstaller [IO: ▲0.38MB] [DB: ▲0.06MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following itemsThe uninstall procedure has failed, leaving 7 options in the database
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/mnumidesigner/uninstall.php+14
Uncaught Error: Call to undefined method MnumiDesigner_Install::remove_roles() in wp-content/plugins/mnumidesigner/uninstall.php:14
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - This plugin has failed uninstalling correctly, leaving 59 files (0.38MB) in the plugin directory
- (new file) assets/css/admin.css
- (new file) assets/js/admin/calendars.js
- (new file) admin/woocommerce/class-mnumidesigner-wc-order-data.php
- (new file) admin/.htaccess
- (new file) admin/class-mnumidesigner-templates-list-table.php
- (new file) admin/class-mnumidesigner-translations-list-table.php
- (new file) admin/class-mnumidesigner-settings.php
- (new file) admin/class-mnumidesigner-calendars-list-table.php
- (new file) admin/class-mnumidesigner-customer-projects-list-table.php
- (new file) admin/woocommerce/class-mnumidesigner-wc-product.php
- ...
- db_upgraded
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: photo calendar, woocommerce, product customiser, print, product designer...
mnumidesigner/mnumidesigner.php 85% from 13 tests
The principal PHP file in "MnumiDesigner - WooCommerce Product Designer for Photo Books, Photo Calendars and more" v. 0.8 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "3.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected8,848 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,312 | 3,052 | 6,881 |
JavaScript | 9 | 116 | 55 | 1,688 |
CSS | 1 | 16 | 0 | 152 |
Markdown | 1 | 28 | 0 | 95 |
SVG | 1 | 2 | 1 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 16.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 4 | 11.43% |
▷ Concrete classes | 31 | 88.57% |
▷ Final classes | 3 | 9.68% |
Methods | 400 | |
▷ Static methods | 67 | 16.75% |
▷ Public methods | 311 | 77.75% |
▷ Protected methods | 63 | 15.75% |
▷ Private methods | 26 | 6.50% |
Functions | 24 | |
▷ Named functions | 14 | 58.33% |
▷ Anonymous functions | 10 | 41.67% |
Constants | 32 | |
▷ Global constants | 1 | 3.12% |
▷ Class constants | 31 | 96.88% |
▷ Public constants | 31 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin