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.03MB] [CPU: ▼2.11ms] Passed 4 tests
This is a short check of server-side resources used by Aspexi Social Media Sidebox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.97 ▼5.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.68 ▼3.22 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.03 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.56 ▼1.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.40 ▲3.17 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
aspexifbsidebox_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aspexi Social Media Sidebox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲204 | 13.79 ▼0.58 | 5.70 ▲3.99 | 41.04 ▼11.40 |
Dashboard /wp-admin | 2,236 ▲51 | 4.84 ▼0.15 | 106.79 ▼1.37 | 39.09 ▼6.33 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.05 ▲0.03 | 39.23 ▲0.78 | 37.03 ▲2.45 |
Add New Post /wp-admin/post-new.php | 1,613 ▲79 | 22.53 ▼0.57 | 671.49 ▲2.23 | 50.46 ▼10.93 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.24 ▲0.04 | 95.03 ▼11.00 | 41.94 ▼2.15 |
Aspexi Social Media Sidebox /wp-admin/aspexi-facebook-side-box.php | 26 | 0.44 | 0.07 | 15.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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 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 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/aspexi-facebook-side-box.php
- > Network (severe)
wp-admin/aspexi-facebook-side-box.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
aspexi-facebook-like-box-sidebox/aspexi-facebook-side-box.php 85% from 13 tests
The principal PHP file in "Aspexi Social Media Sidebox" v. 2.1.17 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("aspexi-facebook-like-box-sidebox.php" instead of "aspexi-facebook-side-box.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,100 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 108 | 43 | 777 |
PO File | 1 | 119 | 194 | 230 |
JavaScript | 2 | 8 | 1 | 93 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/be250.png | 7.19KB | 3.89KB | ▼ 45.91% |
images/svgonoff.png | 9.20KB | 3.74KB | ▼ 59.37% |
images/aspexi300.png | 26.93KB | 11.76KB | ▼ 56.33% |
images/fb1-right.png | 2.94KB | 2.78KB | ▼ 5.51% |