Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/lsd-simple-tweak/lsd-simple-tweak.php+323
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.58ms] Passed 4 tests
Analyzing server-side resources used by LSD Simple Tweak
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.06 ▼1.34 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.94 ▼1.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.68 ▲0.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.03 ▼15.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.26 ▲0.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for LSD Simple Tweak
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.77 ▼0.61 | 1.94 ▲0.28 | 49.18 ▲9.07 |
Dashboard /wp-admin | 2,206 ▲23 | 4.83 ▼0.07 | 116.00 ▲0.55 | 39.16 ▼6.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.00 | 33.26 ▼3.02 | 35.12 ▼2.43 |
Add New Post /wp-admin/post-new.php | 1,533 ▲1 | 23.14 ▼0.07 | 670.47 ▼75.67 | 54.85 ▲1.55 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.06 | 98.92 ▲2.78 | 42.51 ▼1.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/lsd-simple-tweak/lsd-simple-tweak.php on line 323
- > PHP Parse 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
lsd-simple-tweak/lsd-simple-tweak.php Passed 13 tests
The main PHP script in "LSD Simple Tweak" version 1.0 is automatically included on every request by WordPress
137 characters long description:
Tweak the performance and automated settings of your Wordpress wsite by checking or unchecking the numerous options on the settings page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin245 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 18 | 245 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin