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.19MB] [CPU: ▼7.62ms] Passed 4 tests
This is a short check of server-side resources used by Andreadb Coin Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.18 | 36.49 ▼6.82 |
Dashboard /wp-admin | 3.55 ▲0.25 | 47.74 ▼0.75 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 57.70 ▲6.04 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 80.07 ▼18.27 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.83 ▼4.65 |
Coin Slider /wp-admin/edit.php?post_type=dba_coin_slider | 3.46 | 41.78 |
Donate /wp-admin/edit.php?post_type=dba_coin_slider&page=andreadb-coin-slider-donate | 3.39 | 37.34 |
Add Coin Slider /wp-admin/post-new.php?post_type=dba_coin_slider | 3.42 | 44.19 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_andreadb_coin_slider_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Andreadb Coin Slider: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,090 ▲355 | 15.41 ▲1.03 | 4.63 ▲2.98 | 38.96 ▼0.56 |
Dashboard /wp-admin | 2,385 ▲194 | 6.57 ▲0.67 | 137.18 ▲24.63 | 43.29 ▼3.94 |
Posts /wp-admin/edit.php | 2,291 ▲199 | 3.34 ▲1.30 | 50.75 ▲11.79 | 33.21 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,564 ▲44 | 23.25 ▲0.10 | 644.16 ▲13.28 | 35.43 ▼26.16 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.17 ▼0.00 | 77.99 ▼25.88 | 40.91 ▼4.42 |
Coin Slider /wp-admin/edit.php?post_type=dba_coin_slider | 1,279 | 3.41 | 50.85 | 30.76 |
Donate /wp-admin/edit.php?post_type=dba_coin_slider&page=andreadb-coin-slider-donate | 981 | 3.02 | 37.95 | 26.88 |
Add Coin Slider /wp-admin/post-new.php?post_type=dba_coin_slider | 1,995 | 3.59 | 64.36 | 43.21 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_andreadb_coin_slider_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=dba_coin_slider
- > Notice in wp-content/plugins/andreadb-coin-slider/admin/class-andreadb-coin-slider-admin.php+419
Trying to access array offset on value of type null
SRP 0% from 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/andreadb-coin-slider/public/display/andreadb-coin-slider-public.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/andreadb-coin-slider/includes/class-andreadb-coin-slider-widget.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/andreadb-coin-slider/admin/display/andreadb-coin-slider-admin-settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/andreadb-coin-slider/admin/display/andreadb-coin-slider-admin-codes.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/andreadb-coin-slider/admin/display/andreadb-coin-slider-admin-donate.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/andreadb-coin-slider/admin/display/andreadb-coin-slider-admin-slides.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: wordpress slider, slideshow, coin slider, image slider, slider
andreadb-coin-slider/andreadb-coin-slider.php Passed 13 tests
"Andreadb Coin Slider" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
55 characters long description:
Create and manage beautiful SEO slideshow coin sliders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin957 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 191 | 745 | 728 |
CSS | 2 | 0 | 4 | 155 |
JavaScript | 2 | 11 | 21 | 74 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 8.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 3 | 6.38% |
▷ Public methods | 42 | 89.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.64% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected