Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.57MB] [CPU: ▼12.21ms] Passed 4 tests
Server-side resources used by Events byMike
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.19 | 40.51 ▼3.10 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.80 ▲0.91 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.99 ▲3.54 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.63 | 39.68 ▼50.20 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.23 ▲6.78 |
Server storage [IO: ▲0.66MB] [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: 54 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_eventsbymike |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
eventsbymike_db_version |
eventsbymike_plugin_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Events byMike: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.65 ▼1.10 | 1.57 ▼0.43 | 41.29 ▼8.88 |
Dashboard /wp-admin | 2,219 ▲31 | 5.02 ▼0.89 | 101.00 ▼12.21 | 41.16 ▼4.36 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.10 ▲0.08 | 39.93 ▲4.99 | 36.11 ▼1.61 |
Add New Post /wp-admin/post-new.php | 6,719 ▲5,186 | 27.63 ▲4.27 | 926.39 ▲245.07 | 46.23 ▼11.05 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.41 ▲0.24 | 96.64 ▼8.69 | 43.87 ▼2.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/eventsbymike/app/view/thecontent.php
- > /wp-content/plugins/eventsbymike/app/view/showEvents.php
- > /wp-content/plugins/eventsbymike/app/view/showVita.php
- 19× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/eventsbymike/app/view/showVita.php on line 21
- > PHP Notice
Undefined variable: pluginDirUrl in wp-content/plugins/eventsbymike/app/view/metaboxes/postDates.php on line 31
- > PHP Notice
Undefined variable: dates in wp-content/plugins/eventsbymike/app/view/showVita.php on line 21
- > PHP Notice
Undefined variable: pluginDirUrl in wp-content/plugins/eventsbymike/app/view/metaboxes/postDates.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'wpbymike_controller' not found in wp-content/plugins/eventsbymike/app/controller/shortcodes.php:24
- > PHP Notice
Undefined variable: pluginDirUrl in wp-content/plugins/eventsbymike/app/view/metaboxes/postDates.php on line 30
- > PHP Notice
Undefined variable: msgbox in wp-content/plugins/eventsbymike/app/view/metaboxes/postDates.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'wpbymike_baseClass' not found in wp-content/plugins/eventsbymike/lib/view.php:25
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/eventsbymike/app/view/showEvents.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'wpbymike_controller' not found in wp-content/plugins/eventsbymike/app/controller/thecontent.php:24
- > PHP Warning
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== eventsbymike ===
)
eventsbymike/eventsbymike.php Passed 13 tests
The main file in "Events byMike" v. 0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
45 characters long description:
Ein PlugIn zur Anzeige von Auftrittsterminen.
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
Success! There were no dangerous files found in this plugin1,951 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 491 | 746 | 1,010 |
CSS | 7 | 84 | 99 | 880 |
JavaScript | 2 | 21 | 12 | 61 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 12.09 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 2 | 18.18% |
▷ Concrete classes | 9 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 3 | 4.11% |
▷ Public methods | 71 | 97.26% |
▷ Protected methods | 1 | 1.37% |
▷ Private methods | 1 | 1.37% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
19 PNG files occupy 0.49MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/ui-lightness/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.16KB | 0.18KB | 0.00% |
css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png | 4.32KB | 1.93KB | ▼ 55.41% |
css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png | 0.10KB | 0.11KB | 0.00% |
css/img_inquisitor/_source/ul_corner.png | 27.00KB | 0.12KB | ▼ 99.56% |