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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.80ms] Passed 4 tests
Server-side resources used by LSX Blog Customizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.75 ▲2.57 |
Dashboard /wp-admin | 3.46 ▲0.16 | 45.36 ▼1.42 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.23 ▲0.97 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 84.31 ▼11.29 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.47 ▼3.45 |
Server storage [IO: ▲3.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 416 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_lsx_blog_customizer_widget_terms |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
widget_lsx_blog_customizer_widget_posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LSX Blog Customizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲126 | 13.43 ▼1.14 | 8.63 ▲6.90 | 37.58 ▲0.17 |
Dashboard /wp-admin | 2,209 ▲35 | 5.70 ▲0.11 | 92.84 ▲6.04 | 37.16 ▼2.00 |
Posts /wp-admin/edit.php | 2,111 ▲14 | 2.04 ▲0.10 | 39.55 ▲3.16 | 34.96 ▲2.43 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.05 ▼0.60 | 676.36 ▼40.01 | 53.33 ▼1.64 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.29 ▲0.09 | 103.92 ▲7.23 | 44.01 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_lsx_blog_customizer_widget_posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_lsx_blog_customizer_widget_terms
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please fix the following
- 55× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Warning
Use of undefined constant LSX_BLOG_CUSTOMIZER_PATH - assumed 'LSX_BLOG_CUSTOMIZER_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/lsx-blog-customizer/classes/class-lsx-blog-customizer.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/lsx-blog-customizer/vendor/CMB2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lsx-blog-customizer/includes/functions.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: blog customizer, related posts, blog posts, lsx, customizer
lsx-blog-customizer/lsx-blog-customizer.php Passed 13 tests
The main PHP script in "LSX Blog Customizer" version 1.4.7 is automatically included on every request by WordPress
116 characters long description:
The LSX Blog Customizer extension gives you complete control over the appearance of your LSX-powered WordPress blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected55,284 lines of code in 259 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,417 | 18,607 | 32,540 |
PHP | 71 | 2,410 | 6,521 | 8,795 |
CSS | 20 | 652 | 1,224 | 5,759 |
JavaScript | 17 | 1,226 | 2,570 | 4,513 |
Sass | 22 | 518 | 368 | 2,628 |
Markdown | 3 | 308 | 0 | 820 |
YAML | 4 | 5 | 0 | 185 |
XML | 1 | 13 | 9 | 44 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 20.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 76 | |
▷ Abstract classes | 9 | 11.84% |
▷ Concrete classes | 67 | 88.16% |
▷ Final classes | 0 | 0.00% |
Methods | 589 | |
▷ Static methods | 88 | 14.94% |
▷ Public methods | 496 | 84.21% |
▷ Protected methods | 89 | 15.11% |
▷ Private methods | 4 | 0.68% |
Functions | 30 | |
▷ Named functions | 26 | 86.67% |
▷ Anonymous functions | 4 | 13.33% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.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
15 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-icons_888888_256x240.png | 4.28KB | 4.11KB | ▼ 4.17% |
vendor/CMB2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |