Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.61ms] Passed 4 tests
An overview of server-side resources used by LocalWeb All In One
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 48.93 ▲5.36 |
Dashboard /wp-admin | 3.67 ▲0.32 | 45.77 ▼10.71 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 46.14 ▲3.48 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 84.91 ▼8.56 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 39.28 ▲6.92 |
LW AIO Options /wp-admin/admin.php?page=lw_all_in_one | 3.78 | 34.55 |
Privacy&Policy Pages /wp-admin/admin.php?page=lw_all_in_one_privacy_policy | 3.55 | 37.70 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 53 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_lw_aio_a_events |
wp_lw_aio_cf7 |
New WordPress options |
---|
widget_recent-posts |
lw_all_in_one |
db_upgraded |
widget_recent-comments |
lw_all_in_one_version |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for LocalWeb All In One
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.42 ▲0.14 | 1.63 ▼0.28 | 43.61 ▲0.63 |
Dashboard /wp-admin | 2,220 ▲43 | 5.52 ▼0.15 | 92.61 ▲1.84 | 72.73 ▲29.72 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.00 ▼0.03 | 38.69 ▼7.35 | 33.14 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,575 ▲40 | 18.30 ▼0.09 | 701.07 ▼11.51 | 60.99 ▼8.33 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.17 ▼0.03 | 96.52 ▼6.47 | 67.30 ▲25.50 |
LW AIO Options /wp-admin/admin.php?page=lw_all_in_one | 1,419 | 2.24 | 32.34 | 34.75 |
Privacy&Policy Pages /wp-admin/admin.php?page=lw_all_in_one_privacy_policy | 809 | 2.23 | 37.21 | 31.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_lw_aio_cf7
- wp_lw_aio_a_events
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- lw_all_in_one
- widget_recent-posts
- lw_all_in_one_version
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/lw-all-in-one/public/partials/lw-all-in-one-public-display.php
- > /wp-content/plugins/lw-all-in-one/admin/partials/lw-all-in-one-admin-display.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: domain in wp-content/plugins/lw-all-in-one/admin/privacy-pages/privacy.php on line 6
- > PHP Notice
Undefined variable: date in wp-content/plugins/lw-all-in-one/admin/privacy-pages/contact.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_filter_post_kses() in wp-content/plugins/lw-all-in-one/admin/privacy-pages/cookie.php:8
- > PHP Notice
Undefined variable: date in wp-content/plugins/lw-all-in-one/admin/privacy-pages/privacy.php on line 7
- > PHP Notice
Undefined variable: date in wp-content/plugins/lw-all-in-one/admin/privacy-pages/cookie.php on line 7
- > PHP Notice
Undefined variable: domain in wp-content/plugins/lw-all-in-one/admin/privacy-pages/cookie.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_filter_post_kses() in wp-content/plugins/lw-all-in-one/admin/privacy-pages/privacy.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_filter_post_kses() in wp-content/plugins/lw-all-in-one/admin/privacy-pages/contact.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: wim, chat, local web, aio, localweb...
lw-all-in-one/lw-all-in-one.php 85% from 13 tests
Analyzing the main PHP file in "LocalWeb All In One" version 1.7.4
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: The description should be shorter than 140 characters (currently 248 characters long)
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 detected6,258 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 641 | 867 | 3,251 |
JavaScript | 6 | 177 | 86 | 1,119 |
PO File | 2 | 294 | 330 | 807 |
HTML | 6 | 134 | 0 | 747 |
CSS | 3 | 28 | 14 | 250 |
Markdown | 1 | 43 | 0 | 84 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 9 | 8.18% |
▷ Public methods | 92 | 83.64% |
▷ Protected methods | 2 | 1.82% |
▷ Private methods | 16 | 14.55% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 2.32KB | 0.76KB | ▼ 67.06% |
admin/img/lw-fav.png | 1.39KB | 0.54KB | ▼ 61.18% |