Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.23ms] Passed 4 tests
Analyzing server-side resources used by WP Easter Egg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.09 ▼3.50 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.12 ▼13.41 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.95 ▲2.96 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.21 ▼6.98 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.91 ▲3.60 |
WP Easter Egg /wp-admin/options-general.php?page=wp_easter_egg_plugin | 3.29 | 35.31 |
Server storage [IO: ▲2.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Easter Egg
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.64 ▼0.73 | 5.09 ▲3.31 | 39.00 ▼4.38 |
Dashboard /wp-admin | 2,213 ▲28 | 4.90 ▲0.02 | 100.38 ▼8.32 | 39.74 ▼1.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 38.22 ▲4.68 | 33.68 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.23 ▲0.04 | 639.71 ▼17.32 | 58.64 ▲14.29 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.21 ▼0.08 | 99.15 ▲3.34 | 43.55 ▲2.56 |
WP Easter Egg /wp-admin/options-general.php?page=wp_easter_egg_plugin | 1,114 | 3.10 | 41.70 | 25.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: cornify, konami, easteregg, raptorize
wp-easter-egg/wp-easter-egg.php 92% from 13 tests
Analyzing the main PHP file in "WP Easter Egg" version 2.0.6
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin705 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 81 | 39 | 329 |
PHP | 4 | 62 | 93 | 305 |
Markdown | 1 | 34 | 0 | 71 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 23 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.54% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.11MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/raptorize/raptor.png | 113.39KB | 118.43KB | 0.00% |