Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.85ms] Passed 4 tests
A check of server-side resources used by Emergency Management
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.42 ▼2.03 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.36 ▼2.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.31 ▲1.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.71 ▼1.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.17 ▲2.57 |
EM - Emergency Management /wp-admin/users.php?page=mfem-emergency-management | 3.29 | 41.94 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
mfem_activated |
Browser metrics Passed 4 tests
Emergency Management: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲66 | 14.54 ▲0.28 | 2.09 ▲0.49 | 47.55 ▲4.36 |
Dashboard /wp-admin | 2,211 ▲34 | 5.66 ▲0.08 | 95.50 ▼5.97 | 42.68 ▼0.40 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▼0.02 | 42.35 ▲2.22 | 35.18 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 25.17 ▲4.01 | 631.58 ▼8.58 | 62.98 ▲12.66 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.21 ▼0.01 | 98.01 ▼1.62 | 41.54 ▲0.74 |
EM - Emergency Management /wp-admin/users.php?page=mfem-emergency-management | 1,810 | 6.56 | 146.32 | 129.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/users.php?page=mfem-emergency-management
- > Network (severe)
https://www.paypalobjects.com/en_DE/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Admin settings page), #2 (eMail editor view)
emergency-management/emergency-management.php 92% from 13 tests
"Emergency Management" version 1.4.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 250 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
Everything looks great! No dangerous files found in this plugin1,540 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 266 | 129 | 1,051 |
PO File | 1 | 123 | 171 | 413 |
JavaScript | 1 | 6 | 8 | 47 |
CSS | 1 | 15 | 11 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 44 | 91.67% |
▷ Anonymous functions | 4 | 8.33% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin