Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.40ms] Passed 4 tests
This is a short check of server-side resources used by HAQ Tabed Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 42.26 ▼5.82 |
Dashboard /wp-admin | 3.40 ▲0.10 | 51.32 ▼4.91 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.57 ▼4.34 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 89.43 ▼10.54 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.75 ▼0.61 |
Add New Slider /wp-admin/post-new.php?post_type=haq_tabed_slider | 3.37 | 52.43 |
All Sliders /wp-admin/edit.php?post_type=haq_tabed_slider | 3.37 | 35.84 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
HAQTS_default_settings |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by HAQ Tabed Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.42 ▼0.23 | 2.76 ▲0.89 | 44.30 ▼0.61 |
Dashboard /wp-admin | 2,219 ▲42 | 5.62 ▼0.07 | 86.04 ▼11.93 | 42.31 ▲0.18 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.00 ▼0.01 | 35.77 ▼6.10 | 36.72 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,568 ▲37 | 23.24 ▲0.09 | 673.52 ▼11.42 | 55.38 ▲1.51 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.26 ▲0.04 | 108.70 ▲2.01 | 45.81 ▼1.09 |
Add New Slider /wp-admin/post-new.php?post_type=haq_tabed_slider | 1,808 | 3.83 | 65.52 | 35.25 |
All Sliders /wp-admin/edit.php?post_type=haq_tabed_slider | 1,112 | 1.96 | 34.73 | 30.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- HAQTS_default_settings
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
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/haq-tabed-slider/haq-tabed-slider.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in haq-tabed-slider/assets to your readme.txt
haq-tabed-slider/haq-tabed-slider.php Passed 13 tests
This is the main PHP file of "HAQ Tabed Slider" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
107 characters long description:
This plugin creates an image slideshow from the images you upload using the jQuery HAQ Tabed Slider plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin4,641 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 190 | 6 | 4,096 |
PHP | 3 | 72 | 26 | 380 |
CSS | 2 | 26 | 2 | 165 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/delete-icon.png | 3.62KB | 1.97KB | ▼ 45.65% |