Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼295.49ms] Passed 4 tests
A check of server-side resources used by Advanced Floating Sliding Panel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 54.61 ▲2.15 |
Dashboard /wp-admin | 3.47 ▲0.06 | 38.61 ▲5.35 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 40.10 ▲1.23 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 93.79 ▼1,188.32 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 25.57 ▲3.00 |
All Advanced Floating Sliding Panel /wp-admin/edit.php?post_type=ct_afsp | 3.40 | 28.87 |
Add New /wp-admin/post-new.php?post_type=ct_afsp | 3.78 | 44.36 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 55 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Floating Sliding Panel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 8,713 ▲4,959 | 17.91 ▲2.32 | 9.08 ▲2.50 | 2.39 ▲0.01 |
Dashboard /wp-admin | 7,695 ▲4,837 | 6.88 ▲0.75 | 171.46 ▲38.28 | 153.65 ▼6.50 |
Posts /wp-admin/edit.php | 7,494 ▲4,806 | 3.88 ▲0.64 | 116.04 ▲51.76 | 146.94 ▲1.70 |
Add New Post /wp-admin/post-new.php | 4,201 ▲2,540 | 22.25 ▲6.15 | 473.61 ▲52.11 | 170.10 ▲16.13 |
Media Library /wp-admin/upload.php | 6,502 ▲4,807 | 5.69 ▲0.19 | 172.81 ▲17.75 | 186.80 ▼11.03 |
All Advanced Floating Sliding Panel /wp-admin/edit.php?post_type=ct_afsp | 6,189 | 3.82 | 112.17 | 140.77 |
Add New /wp-admin/post-new.php?post_type=ct_afsp | 11,124 | 12.45 | 343.44 | 204.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _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 _e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-tabs-design-options.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advanced-floating-sliding-panel/admin/views/advanced-floating-sliding-panel-basic-options.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== advanced-floating-sliding-panel ===
) - Tags: You are using too many tags: 11 tag instead of maximum 10
advanced-floating-sliding-panel/advanced-floating-sliding-panel.php Passed 13 tests
The principal PHP file in "Advanced Floating Sliding Panel" v. 1.0.0 is loaded by WordPress automatically on each request
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected12,049 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 126 | 60 | 5,327 |
JavaScript | 5 | 570 | 484 | 2,994 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 14 | 236 | 587 | 1,057 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.06 |
▷ 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 | 47 | |
▷ Static methods | 2 | 4.26% |
▷ Public methods | 38 | 80.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 19.15% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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/assets/email-icon.png | 1.66KB | 1.24KB | ▼ 25.15% |
admin/assets/faq-icon.png | 1.19KB | 1.04KB | ▼ 12.27% |
admin/css/select2.png | 0.51KB | 0.99KB | 0.00% |
admin/assets/doc-icon.png | 0.88KB | 0.67KB | ▼ 24.75% |
admin/assets/group-icon.png | 1.57KB | 1.28KB | ▼ 18.92% |