Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.74ms] Passed 4 tests
Analyzing server-side resources used by Plugin name: MM Ephemeride
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 50.42 ▲9.83 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.55 ▼3.46 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.58 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.40 ▼9.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.36 ▲2.69 |
MM Ephemeride /wp-admin/options-general.php?page=mmeph_ephemeride_id | 3.20 | 30.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ephemeride |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
mmeph_ephemeride_init |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin name: MM Ephemeride
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.26 ▼1.11 | 1.71 ▼0.23 | 35.74 ▼8.03 |
Dashboard /wp-admin | 2,213 ▲25 | 4.83 ▼0.05 | 96.81 ▼18.35 | 36.38 ▼15.58 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.05 | 39.86 ▲2.06 | 35.02 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.10 ▲0.53 | 635.91 ▼62.48 | 61.62 ▼0.16 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.14 ▼0.02 | 99.07 ▼8.68 | 43.64 ▼4.73 |
MM Ephemeride /wp-admin/options-general.php?page=mmeph_ephemeride_id | 825 | 2.02 | 26.07 | 33.20 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mm-ephemeride/mm-ephemeride.php:556
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in mm-ephemeride/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin name: MM Ephemeride===
)
mm-ephemeride/mm-ephemeride.php 92% from 13 tests
The main PHP script in "Plugin name: MM Ephemeride" version 1.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin555 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 40 | 555 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin