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.19MB] [CPU: ▼8.91ms] Passed 4 tests
An overview of server-side resources used by Advanced Floating Sliding Panel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.20 | 45.65 ▼1.96 |
Dashboard /wp-admin | 3.54 ▲0.16 | 48.09 ▼20.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.26 | 47.61 ▼9.18 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.22 | 100.85 ▼4.17 |
Media Library /wp-admin/upload.php | 3.47 ▲0.20 | 41.81 ▲4.72 |
Add New /wp-admin/post-new.php?post_type=ct_afsp | 3.66 | 54.49 |
All Advanced Floating Sliding Panel /wp-admin/edit.php?post_type=ct_afsp | 3.51 | 41.03 |
Server storage [IO: ▲2.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Advanced Floating Sliding Panel: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 7,687 ▲4,926 | 14.91 ▲0.54 | 6.61 ▲4.92 | 41.24 ▼3.42 |
Dashboard /wp-admin | 6,981 ▲4,804 | 6.31 ▲0.73 | 132.35 ▲48.32 | 38.44 ▼5.16 |
Posts /wp-admin/edit.php | 6,888 ▲4,788 | 2.64 ▲0.67 | 83.72 ▲42.94 | 32.50 ▼3.19 |
Add New Post /wp-admin/post-new.php | 6,462 ▲4,936 | 23.67 ▲0.45 | 692.85 ▲5.10 | 29.52 ▼35.91 |
Media Library /wp-admin/upload.php | 6,186 ▲4,783 | 4.19 ▲0.02 | 139.38 ▲37.83 | 47.03 ▲2.90 |
Add New /wp-admin/post-new.php?post_type=ct_afsp | 9,892 | 11.27 | 372.48 | 104.97 |
All Advanced Floating Sliding Panel /wp-admin/edit.php?post_type=ct_afsp | 5,863 | 2.58 | 77.26 | 28.93 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-advanced-options.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-basic-options.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-tabs-options.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-tabs-design-options.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== advanced-floating-sliding-panel ===
) - Tags: Please delete some tags, you are using 11 tag instead of maximum 10
advanced-floating-sliding-panel/advanced-floating-sliding-panel.php Passed 13 tests
The main PHP file in "Advanced Floating Sliding Panel" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
131 characters long description:
Advanced Floating Sliding Panel (Lite) is the Best Plugin to create sliding panel with unlimited controllable tabs within a minute.
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
Success! There were no dangerous files found in this plugin12,258 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 126 | 60 | 5,334 |
JavaScript | 6 | 568 | 495 | 2,991 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 15 | 254 | 598 | 1,262 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 39 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 18.75% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/select2.png | 0.51KB | 0.99KB | 0.00% |
admin/assets/faq-icon.png | 1.19KB | 1.04KB | ▼ 12.27% |
admin/assets/afsp-icon-hover.png | 1.77KB | 0.84KB | ▼ 52.45% |
admin/assets/afsp-icon.png | 1.71KB | 0.75KB | ▼ 55.92% |
admin/assets/group-icon.png | 1.57KB | 1.28KB | ▼ 18.92% |