Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.95MB] [CPU: ▼34.41ms] Passed 4 tests
A check of server-side resources used by Merry Christmas Everyone
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.82 ▲0.16 |
Dashboard /wp-admin | 2.99 ▼0.31 | 22.33 ▼26.62 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 23.95 ▼25.59 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 24.52 ▼79.85 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 30.66 ▼5.58 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
xmas_media |
can_compress_scripts |
xmas_url |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Merry Christmas Everyone
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.17 ▼1.22 | 3.29 ▲1.05 | 41.82 ▼9.36 |
Dashboard /wp-admin | 2,218 ▲27 | 4.93 ▼0.98 | 100.49 ▼0.08 | 67.13 ▲24.08 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.02 ▼0.00 | 36.07 ▼0.24 | 34.94 ▲1.39 |
Add New Post /wp-admin/post-new.php | 1,680 ▲152 | 20.04 ▲1.63 | 736.34 ▲111.40 | 59.12 ▲12.19 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.14 ▼0.07 | 126.63 ▲26.38 | 49.35 ▲4.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- xmas_url
- widget_recent-comments
- xmas_media
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/merry-christmas-everyone/merry-christmas-everyone.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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:
- Screenshots: Please add images for these screenshots: #1 (Santa flying over website), #2 (Santa giving gifts), #3 (Admin merry christmas everyone)
merry-christmas-everyone/merry-christmas-everyone.php Passed 13 tests
"Merry Christmas Everyone" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
127 characters long description:
Merry Christmas! Santa is flying here with gifts, happiness, candies and snow and much, much more. Come on in and check us out!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected604 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 28 | 23 | 497 |
PHP | 1 | 70 | 14 | 107 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.39MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/santa01.png | 9.32KB | 4.63KB | ▼ 50.36% |
images/MerryChristmaseveryone.png | 5.76KB | 2.59KB | ▼ 55.04% |
images/santa02.png | 10.80KB | 4.24KB | ▼ 60.73% |
screenshot-3.png | 40.71KB | 12.38KB | ▼ 69.60% |
images/santa1.png | 113.75KB | 41.65KB | ▼ 63.39% |