Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼142.91ms] Passed 4 tests
This is a short check of server-side resources used by WP-Socialight
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 35.91 ▲3.56 |
Dashboard /wp-admin | 3.11 ▲0.05 | 44.40 ▼0.92 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.68 ▲1.54 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 90.75 ▼567.27 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 31.94 ▼4.97 |
WP-SociaLight /wp-admin/options-general.php?page=wp-socialight | 3.02 | 29.82 |
Server storage [IO: ▲0.26MB] [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: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP-Socialight: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲224 | 16.27 ▲0.69 | 14.10 ▲4.97 | 49.17 ▼3.11 |
Dashboard /wp-admin | 2,974 ▲40 | 6.12 ▲0.22 | 132.62 ▼19.66 | 110.54 ▼9.52 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.72 ▲0.01 | 72.71 ▲11.52 | 97.14 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,677 ▲177 | 18.92 ▲0.48 | 377.38 ▲33.73 | 113.04 ▲2.40 |
Media Library /wp-admin/upload.php | 1,820 ▲16 | 5.03 ▼0.00 | 145.47 ▼2.87 | 119.45 ▲5.98 |
WP-SociaLight /wp-admin/options-general.php?page=wp-socialight | 1,160 | 2.09 | 53.45 | 82.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-socialight/wp-socialight.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-socialight/wp-socialight.php Passed 13 tests
The main PHP script in "WP-Socialight" version 2.4 is automatically included on every request by WordPress
86 characters long description:
מציג כפתורי שיתוף לרשתות חברתיות באתרי וורדפרס
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
Good job! No executable or dangerous file extensions detected642 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 42 | 0 | 259 |
PHP | 1 | 32 | 7 | 179 |
SVG | 1 | 1 | 0 | 169 |
JavaScript | 2 | 12 | 2 | 35 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin