Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.82ms] Passed 4 tests
Server-side resources used by WP Like, Comment & Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.25 ▲2.95 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.54 ▼4.88 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.37 ▲4.80 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 95.74 ▲3.62 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 41.49 ▲1.59 |
WP Comment Settings /wp-admin/admin.php?page=fblcs | 3.23 | 36.10 |
WP Share Settings /wp-admin/admin.php?page=fblcs-share-settings | 3.23 | 36.70 |
WP Like Settings /wp-admin/admin.php?page=fblcs-like-settings | 3.23 | 34.56 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 18 new options
New WordPress options |
---|
fblcs_c_color |
fblcs_s_href_auto |
fblcs_l_action |
db_upgraded |
fblcs_l_href_auto |
fblcs_c_order_by |
widget_recent-comments |
theysaidso_admin_options |
fblcs_c_mobile_optimize |
fblcs_l_color |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Like, Comment & Share
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲212 | 14.52 ▼0.07 | 42.78 ▲40.84 | 39.34 ▼4.70 |
Dashboard /wp-admin | 2,243 ▲55 | 5.87 ▼0.02 | 103.80 ▼13.44 | 72.82 ▲31.43 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.05 ▲0.03 | 41.13 ▲4.21 | 37.20 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,700 ▲163 | 22.36 ▼0.87 | 655.55 ▼38.53 | 53.36 ▲5.65 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.15 ▼0.02 | 98.49 ▼35.05 | 82.62 ▲30.48 |
WP Comment Settings /wp-admin/admin.php?page=fblcs | 1,168 | 1.72 | 25.28 | 30.74 |
WP Share Settings /wp-admin/admin.php?page=fblcs-share-settings | 1,071 | 1.71 | 25.43 | 32.08 |
WP Like Settings /wp-admin/admin.php?page=fblcs-like-settings | 1,491 | 1.72 | 30.80 | 33.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- fblcs_s_size
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-like-comment-share/admin/class-fblcs-admin.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=fblcs-like-settings
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=fblcs-like-settings 356 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: social comment, facebook comment, facebook like, social share, social like...
wp-like-comment-share/wp-like-comment-share.php Passed 13 tests
The main PHP script in "WP Like, Comment & Share" version 1.0.0 is automatically included on every request by WordPress
75 characters long description:
Using this plugin you can like, comment and share any post and page easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,622 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 144 | 111 | 1,500 |
JavaScript | 1 | 15 | 2 | 75 |
CSS | 2 | 7 | 0 | 47 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 23.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 5.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 48 | 97.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.04% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/fblcs-icon.png | 0.32KB | 0.30KB | ▼ 6.10% |