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 gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.77ms] Passed 4 tests
A check of server-side resources used by LSX Sharing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.37 ▼5.94 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.90 ▼4.10 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.64 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.07 ▼8.61 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.20 ▲6.71 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for LSX Sharing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.30 ▼1.26 | 1.88 ▲0.02 | 42.09 ▼0.55 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼0.96 | 106.89 ▼6.72 | 37.99 ▼6.76 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.02 | 41.03 ▲6.24 | 34.90 ▲3.18 |
Add New Post /wp-admin/post-new.php | 6,249 ▲4,707 | 19.56 ▼3.43 | 899.09 ▲197.05 | 62.93 ▲10.50 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.25 ▼0.03 | 96.38 ▼13.11 | 43.28 ▼4.03 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #3, #4 in lsx-sharing/assets to your readme.txt
lsx-sharing/lsx-sharing.php Passed 13 tests
"LSX Sharing" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
63 characters long description:
The LSX Sharing extension add social share icons for LSX Theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected832 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 33 | 126 | 256 |
PHP | 3 | 38 | 91 | 206 |
JSON | 4 | 0 | 0 | 139 |
CSS | 2 | 13 | 15 | 122 |
Markdown | 2 | 53 | 0 | 80 |
PO File | 1 | 7 | 9 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin