Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/mobilizon-mirror/includes/class-mobilizon-mirror-api.php+58
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.65MB] [CPU: ▼51.73ms] Passed 4 tests
Server-side resources used by Mobilizon Mirror
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.34 ▼1.13 | 7.31 ▼34.64 |
Dashboard /wp-admin | 2.36 ▼0.95 | 8.16 ▼47.53 |
Posts /wp-admin/edit.php | 2.36 ▼1.00 | 8.52 ▼36.77 |
Add New Post /wp-admin/post-new.php | 2.36 ▼3.53 | 8.51 ▼87.98 |
Media Library /wp-admin/upload.php | 2.36 ▼0.87 | 8.07 ▼31.76 |
Instructions /wp-admin/admin.php?page=mobilizon_mirror_faq | 2.36 | 7.93 |
Settings /wp-admin/admin.php?page=mobilizon-mirror | 2.36 | 7.99 |
Server storage [IO: ▲0.48MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 92 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Mobilizon Mirror
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 13.80 ▼0.48 | 8.24 ▲6.51 | 42.74 ▼1.38 |
Dashboard /wp-admin | 2,257 ▲77 | 5.61 ▼0.05 | 83.66 ▼17.04 | 37.19 ▼7.12 |
Posts /wp-admin/edit.php | 2,171 ▲71 | 2.03 ▲0.01 | 34.78 ▼0.94 | 32.04 ▼5.13 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.33 ▲0.46 | 679.62 ▼32.97 | 53.17 ▲0.46 |
Media Library /wp-admin/upload.php | 1,466 ▲69 | 4.22 ▼0.14 | 95.96 ▼19.12 | 39.74 ▼8.20 |
Instructions /wp-admin/admin.php?page=mobilizon_mirror_faq | 859 | 1.82 | 24.80 | 25.85 |
Settings /wp-admin/admin.php?page=mobilizon-mirror | 1,279 | 1.69 | 24.29 | 45.38 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/mobilizon-mirror/includes/class-mobilizon-mirror-api.php+58
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mobilizon-mirror
- > Notice in wp-content/plugins/mobilizon-mirror/includes/class-mobilizon-mirror-api.php+58
Trying to access array offset on value of type bool
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mobilizon-mirror/trunk/public/partials/mobilizon-mirror-public-display.php
- > /wp-content/plugins/mobilizon-mirror/public/partials/mobilizon-mirror-public-display.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/trunk/public/archive-mobilizon-mirror-event-card.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/trunk/public/archive-mobilizon-mirror-event-list.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/public/archive-mobilizon-mirror-event-card.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/public/single-mobilizon-mirror-event-header-image.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/public/archive-mobilizon-mirror-event-list.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/public/single-mobilizon-mirror-event-side-image.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/trunk/public/single-mobilizon-mirror-event-side-image.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mobilizon-mirror/trunk/public/single-mobilizon-mirror-event-header-image.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: calendar, mobilizon, events
mobilizon-mirror/mobilizon-mirror.php Passed 13 tests
The main PHP file in "Mobilizon Mirror" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
19 characters long description:
Integrate Mobilizon
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,106 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 362 | 1,384 | 1,477 |
CSS | 4 | 96 | 8 | 608 |
Sass | 4 | 57 | 8 | 566 |
SVG | 2 | 0 | 0 | 185 |
JavaScript | 2 | 18 | 55 | 128 |
PO File | 1 | 54 | 93 | 128 |
Markdown | 1 | 15 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 14 | 11.29% |
▷ Public methods | 88 | 70.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 36 | 29.03% |
Functions | 14 | |
▷ Named functions | 6 | 42.86% |
▷ Anonymous functions | 8 | 57.14% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin