Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.38ms] Passed 4 tests
Server-side resources used by Aspexi Social Media Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 48.94 ▲10.56 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.22 ▲1.39 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.77 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 81.60 ▼13.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.31 ▲3.54 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
aspexifblikebox_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Aspexi Social Media Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 13.58 ▼0.85 | 9.72 ▲8.00 | 43.98 ▼2.64 |
Dashboard /wp-admin | 2,230 ▲42 | 4.89 ▼1.08 | 101.90 ▲2.41 | 42.69 ▲7.28 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.02 ▼0.01 | 35.83 ▲0.63 | 32.44 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,631 ▲117 | 23.08 ▲5.23 | 683.50 ▲49.54 | 49.61 ▲0.67 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.29 ▲0.05 | 98.38 ▼7.80 | 44.19 ▼1.08 |
Aspexi Social Media Slider /wp-admin/aspexi-facebook-like-box.php | 26 | 0.44 | 0.10 | 13.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/aspexi-facebook-like-box.php
- > Network (severe)
wp-admin/aspexi-facebook-like-box.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
aspexi-facebook-like-box/aspexi-facebook-like-box.php 92% from 13 tests
The entry point to "Aspexi Social Media Slider" version 2.1.17 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin1,080 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 119 | 43 | 811 |
PO File | 1 | 120 | 201 | 231 |
JavaScript | 2 | 3 | 0 | 38 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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/aspexi300.png | 26.93KB | 11.76KB | ▼ 56.33% |
images/fb1-right.png | 2.94KB | 2.78KB | ▼ 5.51% |
images/be250.png | 7.19KB | 3.89KB | ▼ 45.91% |
images/svgonoff.png | 9.20KB | 3.74KB | ▼ 59.37% |