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
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/mythos360-online-store-widget/mythos360-online-store.php+90
Methods with the same name as their class will not be constructors in a future version of PHP; iframe_settings has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼52.03ms] Passed 4 tests
Analyzing server-side resources used by Mythos360 Online Store
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.34 | 5.02 ▼35.42 |
Dashboard /wp-admin | 2.15 ▼1.16 | 7.18 ▼44.55 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 7.53 ▼45.10 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 7.42 ▼83.03 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 5.95 ▼29.62 |
My Mythos360 Online Store /wp-admin/options-general.php?page=iframe_settings_display | 2.15 | 5.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_iframewidget |
Browser metrics Passed 4 tests
Checking browser requirements for Mythos360 Online Store
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.20 ▼1.19 | 2.04 ▲0.13 | 42.78 ▲0.54 |
Dashboard /wp-admin | 2,207 ▲28 | 4.83 ▼1.02 | 109.79 ▲9.25 | 40.58 ▼7.05 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.00 ▼0.15 | 41.51 ▲0.38 | 34.88 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.18 ▲5.56 | 681.63 ▲0.36 | 68.19 ▲19.52 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.05 | 95.60 ▼8.94 | 43.38 ▼1.74 |
My Mythos360 Online Store /wp-admin/options-general.php?page=iframe_settings_display | 908 | 2.15 | 23.01 | 31.80 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/mythos360-online-store-widget/mythos360-online-store.php+90
Methods with the same name as their class will not be constructors in a future version of PHP; iframe_settings has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- widget_iframewidget
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
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
- > GET request to /wp-admin/options-general.php?page=iframe_settings_display
- > Deprecated in wp-content/plugins/mythos360-online-store-widget/mythos360-online-store.php+90
Methods with the same name as their class will not be constructors in a future version of PHP; iframe_settings has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=iframe_settings_display
- > Deprecated in wp-content/plugins/mythos360-online-store-widget/mythos360-widget.php+14
Function create_function() is deprecated
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=iframe_settings_display
- > Notice in wp-content/plugins/mythos360-online-store-widget/mythos360-online-store.php+134
Trying to access array offset on value of type bool
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mythos360-online-store-widget/mythos360-widget.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
mythos360-online-store-widget/mythos360-widget.php 92% from 13 tests
The main file in "Mythos360 Online Store" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mythos360-online-store-widget.php" instead of "mythos360-widget.php")
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
No dangerous file extensions were detected303 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 23 | 303 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected