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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.35ms] Passed 4 tests
Analyzing server-side resources used by Birthday mails bp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.94 ▼1.20 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.06 ▲0.64 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.92 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 96.00 ▼0.06 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.41 ▲3.98 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Birthday mails bp
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▼0.01 | 2.19 ▲0.41 | 40.49 ▼3.48 |
Dashboard /wp-admin | 2,198 ▲18 | 5.65 ▲0.03 | 93.32 ▲3.94 | 39.31 ▼6.06 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.05 | 39.92 ▲4.30 | 37.19 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.03 ▲5.31 | 674.99 ▼23.56 | 54.24 ▼4.37 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.22 ▼0.20 | 95.98 ▼6.69 | 43.60 ▼5.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== birthday-mails-bp ===
)
birthday-mails-bp/birthday-mails-bp.php Passed 13 tests
The main PHP file in "Birthday mails bp" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
A simple WordPress plugin to modify WPLMS template
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 plugin566 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 91 | 91 | 358 |
JavaScript | 1 | 62 | 45 | 179 |
CSS | 1 | 15 | 87 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 32.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 37.32KB | 16.19KB | ▼ 56.63% |
assets/screenshot-2.png | 17.58KB | 7.46KB | ▼ 57.55% |