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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.08MB] [CPU: ▼11.95ms] Passed 4 tests
This is a short check of server-side resources used by Christmas Effect for wordpress Website
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.02 | 26.61 ▼14.43 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.39 ▼14.09 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.41 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 71.43 ▼18.48 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 33.06 ▲0.16 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Christmas Effect for wordpress Website: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.18 ▼0.20 | 2.52 ▲0.90 | 37.44 ▼3.75 |
Dashboard /wp-admin | 2,219 ▲42 | 5.64 ▲0.09 | 82.38 ▼5.26 | 38.53 ▼5.04 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.02 ▲0.02 | 36.61 ▲2.95 | 33.73 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.98 ▲0.45 | 647.13 ▼17.78 | 62.69 ▲10.66 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.25 ▲0.03 | 108.74 ▲12.60 | 47.13 ▲1.86 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (You have a option to removed comments only from posts or pages.) image missing
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
christmas-effect/christmas_effect.php 92% from 13 tests
"Christmas Effect for wordpress Website" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("christmas-effect.php" instead of "christmas_effect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected857 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 141 | 72 | 856 |
JavaScript | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 48 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 1.14MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snoweffect-logo.png | 0.32KB | 0.32KB | ▼ 0.91% |
screenshot-2.png | 130.70KB | 65.79KB | ▼ 49.67% |
screenshot-1.png | 303.09KB | 159.32KB | ▼ 47.43% |
screenshot-3.png | 354.41KB | 122.82KB | ▼ 65.35% |
screenshot-4.png | 376.75KB | 122.66KB | ▼ 67.44% |