Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼294.41ms] Passed 4 tests
This is a short check of server-side resources used by Admidio Events
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.09 | 55.61 ▲8.28 |
Dashboard /wp-admin | 3.47 ▲0.06 | 32.80 ▼2.48 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 36.40 ▼7.71 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.03 | 94.65 ▼1,159.83 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 23.67 ▼7.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_admidio-events |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admidio Events
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲183 | 16.54 ▲0.95 | 9.66 ▲3.92 | 2.89 ▲0.67 |
Dashboard /wp-admin | 2,895 ▲40 | 6.01 ▼0.28 | 115.93 ▼19.10 | 153.80 ▼2.35 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▼0.00 | 63.37 ▼0.25 | 138.78 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,680 ▼93 | 18.98 ▼2.71 | 387.10 ▼51.79 | 152.79 ▼0.41 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.54 ▼0.02 | 142.37 ▼9.91 | 186.07 ▼21.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- widget_admidio-events
Smoke tests 75% 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 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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/admidio-events/admidio-events.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% 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
5 plugin tags: membership, admidio, widget, events, rss
admidio-events/admidio-events.php 92% from 13 tests
"Admidio Events" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin326 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 84 | 156 | 208 |
PO File | 1 | 19 | 42 | 57 |
JavaScript | 2 | 16 | 68 | 31 |
CSS | 1 | 8 | 26 | 30 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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