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
Installer ran successfully
Server metrics [RAM: ▲3.80MB] [CPU: ▲25.62ms] Passed 4 tests
Server-side resources used by LEMONTEC fancy XMAS-Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.06 ▲3.56 | 74.88 ▲25.73 |
Dashboard /wp-admin | 7.19 ▲3.81 | 85.78 ▲17.21 |
Posts /wp-admin/edit.php | 7.29 ▲3.89 | 78.56 ▲30.27 |
Add New Post /wp-admin/post-new.php | 10.05 ▲4.12 | 129.80 ▲29.26 |
Media Library /wp-admin/upload.php | 7.20 ▲3.93 | 80.41 ▲38.53 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 7.17 | 70.70 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 7.33 | 81.62 |
All Items /wp-admin/edit.php?post_type=xmas-calendar | 7.30 | 79.47 |
Add New /wp-admin/post-new.php?post_type=xmas-calendar | 7.37 | 76.60 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 7.19 | 66.92 |
Calendar Settings /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar | 7.06 | 63.08 |
Server storage [IO: ▲12.75MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 410 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
lmt_xmas_calendar_settings |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
acf_version |
Browser metrics Passed 4 tests
An overview of browser requirements for LEMONTEC fancy XMAS-Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲82 | 14.35 ▲0.00 | 1.72 ▼0.45 | 44.37 ▲2.17 |
Dashboard /wp-admin | 2,259 ▲82 | 5.64 ▼0.02 | 93.21 ▼6.47 | 43.15 ▲1.12 |
Posts /wp-admin/edit.php | 2,161 ▲61 | 1.97 ▼0.05 | 38.18 ▲0.28 | 36.34 ▼3.77 |
Add New Post /wp-admin/post-new.php | 6,720 ▲5,194 | 28.80 ▲5.73 | 1,111.41 ▲389.61 | 42.94 ▼12.68 |
Media Library /wp-admin/upload.php | 2,016 ▲619 | 8.23 ▲4.07 | 215.41 ▲116.62 | 53.98 ▲8.95 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,364 | 2.42 | 34.39 | 36.56 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4,128 | 4.83 | 124.75 | 101.10 |
All Items /wp-admin/edit.php?post_type=xmas-calendar | 3,517 | 1.99 | 33.59 | 37.94 |
Add New /wp-admin/post-new.php?post_type=xmas-calendar | 2,587 | 10.18 | 216.57 | 62.71 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,269 | 2.95 | 46.34 | 58.08 |
Calendar Settings /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar | 1,137 | 2.13 | 23.37 | 34.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- acf_version
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- lmt_xmas_calendar_settings
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar
- > Notice in wp-content/plugins/lemontec-fancy-xmas-calendar/inc/inc-backend.php+120
Undefined index: lmt_xmas_calendar_text_field_0
- > GET request to /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar
- > Notice in wp-content/plugins/lemontec-fancy-xmas-calendar/inc/inc-backend.php+169
Undefined index: lmt_xmas_calendar_text_field_8
- > GET request to /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar
- > Notice in wp-content/plugins/lemontec-fancy-xmas-calendar/inc/inc-backend.php+180
Undefined index: lmt_xmas_calendar_text_field_9
- > GET request to /wp-admin/edit.php?post_type=xmas-calendar&page=wordpress_fancy_xmas-calendar
- > Notice in wp-content/plugins/lemontec-fancy-xmas-calendar/inc/inc-backend.php+189
Undefined index: lmt_xmas_calendar_text_field_10
SRP 50% from 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
Please fix the following items
- 84× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/fields/class-acf-field-file.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_filter_variations() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/rest-api/acf-rest-api-functions.php:28
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/fields/class-acf-field-number.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/acf-helper-functions.php:142
- > PHP Notice
Undefined variable: active in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/admin/views/html-admin-tools.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/admin/views/html-admin-page-upgrade-network.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/acf-input-functions.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_render_field_wrap() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/admin/views/field-group-options.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/forms/form-comment.php:34
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/lemontec-fancy-xmas-calendar/acf/includes/fields/class-acf-field-checkbox.php:5
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires php: Version not formatted correctly
lemontec-fancy-xmas-calendar/lmt-xmas-calendar.php 77% from 13 tests
The main PHP script in "LEMONTEC fancy XMAS-Calendar" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("lemontec-fancy-xmas-calendar.php" instead of "lmt-xmas-calendar.php")
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected144,725 lines of code in 336 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 44 | 35,408 | 60,552 | 71,911 |
JavaScript | 16 | 5,270 | 7,352 | 38,699 |
PHP | 146 | 8,502 | 18,374 | 20,107 |
CSS | 17 | 842 | 1,483 | 11,250 |
SVG | 112 | 2 | 3 | 2,744 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 2 | 1.96% |
▷ Concrete classes | 100 | 98.04% |
▷ Final classes | 0 | 0.00% |
Methods | 784 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 766 | 97.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 2.30% |
Functions | 467 | |
▷ Named functions | 464 | 99.36% |
▷ Anonymous functions | 3 | 0.64% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
11 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/corner.png | 20.31KB | 7.52KB | ▼ 62.96% |
acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
assets/img/headline_logo.png | 21.74KB | 13.40KB | ▼ 38.36% |
acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
assets/img/footer-mobile.png | 3.77KB | 3.76KB | 0.13% |