Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.19MB] [CPU: ▲1.32ms] Passed 4 tests
Analyzing server-side resources used by Blog Manager Light
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.65 ▲1.20 | 48.43 ▲9.00 |
Dashboard /wp-admin | 4.49 ▲1.19 | 53.01 ▲6.08 |
Posts /wp-admin/edit.php | 4.55 ▲1.19 | 51.55 ▲0.16 |
Add New Post /wp-admin/post-new.php | 7.09 ▲1.21 | 96.31 ▼8.75 |
Media Library /wp-admin/upload.php | 4.42 ▲1.19 | 44.15 ▲7.77 |
Blog Lists /wp-admin/admin.php?page=otw-bml | 4.36 | 40.89 |
License Manager /wp-admin/admin.php?page=otw-bml-lm | 4.45 | 190.61 |
Add Lists /wp-admin/admin.php?page=otw-bml-add | 4.64 | 39.77 |
otwfcr /wp-admin/admin.php?page=otwfcr | 4.32 | 41.48 |
Options /wp-admin/admin.php?page=otw-bml-settings | 4.33 | 40.70 |
Server storage [IO: ▲2.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 116 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_otw_bm_widget_items |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Blog Manager Light
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,070 ▲313 | 15.26 ▲0.51 | 36.38 ▲34.34 | 56.89 ▲10.78 |
Dashboard /wp-admin | 2,254 ▲69 | 5.31 ▲0.40 | 119.88 ▲17.08 | 89.95 ▲47.94 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.60 ▲0.61 | 37.11 ▼8.94 | 34.07 ▼2.94 |
Add New Post /wp-admin/post-new.php | 6,648 ▲5,106 | 20.22 ▲2.11 | 996.57 ▲391.42 | 42.39 ▼14.13 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.65 ▲0.48 | 104.84 ▲7.89 | 72.43 ▲27.83 |
Blog Lists /wp-admin/admin.php?page=otw-bml | 894 | 2.19 | 30.92 | 41.13 |
License Manager /wp-admin/admin.php?page=otw-bml-lm | 973 | 2.19 | 31.02 | 27.73 |
Add Lists /wp-admin/admin.php?page=otw-bml-add | 1,998 | 2.91 | 64.11 | 38.77 |
otwfcr /wp-admin/admin.php?page=otwfcr | 829 | 2.16 | 27.52 | 22.61 |
Options /wp-admin/admin.php?page=otw-bml-settings | 939 | 2.38 | 31.53 | 31.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_otw_bm_widget_items
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=otw-bml
- > Notice in wp-content/plugins/blog-manager-light/views/otw_blog_manager_list.php+42
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=otw-bml-add
- > Notice in wp-content/plugins/blog-manager-light/views/otw_blog_manager_add_list.php+157
Undefined variable: nextID
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/blog-manager-light/include/otw_components/otw_factory/views/action_message.php
- > /wp-content/plugins/blog-manager-light/skeleton/components/news_sort.php
- > /wp-content/plugins/blog-manager-light/skeleton/components/delimiter.php
- 45× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: post in wp-content/plugins/blog-manager-light/skeleton/components/content.php on line 5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/components/widget_title.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/components/meta_date.php:4
- > PHP Fatal error
Uncaught Error: Class 'OTW_Component' not found in wp-content/plugins/blog-manager-light/include/otw_components/otw_factory/otw_factory.class.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/components/pagination.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/3-column-carousel.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/components/widget_content.php:7
- > PHP Notice
Trying to get property 'post_content' of non-object in wp-content/plugins/blog-manager-light/skeleton/components/social.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/components/view_all.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-manager-light/skeleton/2-column.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Templates and post selection), #2 (List elements and order), #3 (Posts order and limits), #4 (More options)
blog-manager-light/otw_blog_manager_light.php 92% from 13 tests
This is the main PHP file of "Blog Manager Light" version 1.20, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("blog-manager-light.php" instead of "otw_blog_manager_light.php")
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
There were no executable files found in this plugin17,746 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 690 | 230 | 6,709 |
PHP | 51 | 1,563 | 626 | 5,709 |
SVG | 2 | 0 | 0 | 3,070 |
JavaScript | 13 | 517 | 309 | 2,258 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 80.80 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 193.00 |
Average method complexity | 7.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 97.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 1 | 0.82% |
▷ Public methods | 90 | 73.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 32 | 26.23% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
21 PNG files occupy 0.31MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/colorpicker/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |
assets/img/colorpicker/colorpicker_hsb_s.png | 1.14KB | 0.80KB | ▼ 29.97% |
frontend/images/arrow-prev.png | 0.97KB | 0.19KB | ▼ 80.92% |
screenshot-3.png | 41.24KB | 16.02KB | ▼ 61.16% |
frontend/images/arrow-next.png | 0.96KB | 0.18KB | ▼ 81.36% |