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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▲0.36ms] Passed 4 tests
A check of server-side resources used by You can quote me on that
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 54.42 ▲18.16 |
Dashboard /wp-admin | 3.57 ▲0.22 | 56.29 ▼4.20 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 51.59 ▲6.15 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 90.41 ▼8.99 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 41.34 ▲8.49 |
Create New Slider /wp-admin/post-new.php?post_type=ycqmot | 3.55 | 48.72 |
View Sliders /wp-admin/edit.php?post_type=ycqmot | 3.54 | 42.05 |
Our Themes /wp-admin/edit.php?post_type=ycqmot&page=themes | 3.46 | 38.28 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_you-can-quote-me-on-that-widget |
otb_new_theme_namaha_viewed |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
otb_new_theme |
theysaidso_admin_options |
you_can_quote_me_on_that_version |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
You can quote me on that: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲160 | 13.79 ▼0.59 | 9.92 ▲8.12 | 43.54 ▲1.84 |
Dashboard /wp-admin | 2,233 ▲56 | 5.60 ▼0.07 | 89.31 ▼0.58 | 42.68 ▲0.58 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.04 ▲0.06 | 33.43 ▼4.42 | 36.13 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,559 ▲22 | 23.11 ▲5.09 | 685.17 ▲40.70 | 57.23 ▼14.17 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.15 ▼0.02 | 96.60 ▲1.01 | 41.71 ▲0.44 |
Create New Slider /wp-admin/post-new.php?post_type=ycqmot | 1,950 | 3.76 | 73.29 | 49.01 |
View Sliders /wp-admin/edit.php?post_type=ycqmot | 1,102 | 1.96 | 29.96 | 32.03 |
Our Themes /wp-admin/edit.php?post_type=ycqmot&page=themes | 916 | 2.04 | 24.15 | 46.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 10 options
- otb_new_theme_namaha_viewed
- otb_new_theme
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_you-can-quote-me-on-that-widget
- you_can_quote_me_on_that_version
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/you-can-quote-me-on-that/library/classes/class-you-can-quote-me-on-that-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/you-can-quote-me-on-that/library/templates/single-ycqmot.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/you-can-quote-me-on-that/library/template-parts/content-themes.php:2
- > PHP Notice
Undefined variable: hidden_panel in wp-content/plugins/you-can-quote-me-on-that/library/template-parts/repeatable-panel-slide.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_status() in wp-content/plugins/you-can-quote-me-on-that/library/template-parts/slider.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/you-can-quote-me-on-that/library/template-parts/repeatable-panel-slide.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/you-can-quote-me-on-that/library/template-parts/global-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: wordpress slider, slider, responsive slider, testimonial slider
you-can-quote-me-on-that/you-can-quote-me-on-that.php Passed 13 tests
This is the main PHP file of "You can quote me on that" version 1.0.09, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
59 characters long description:
The quickest and easiest way to create testimonial sliders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected13,271 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 1,180 | 1,330 | 6,293 |
CSS | 4 | 129 | 51 | 3,141 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 12 | 361 | 600 | 1,166 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 34.25 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 3 | 6.25% |
▷ Public methods | 45 | 93.75% |
▷ Protected methods | 2 | 4.17% |
▷ Private methods | 1 | 2.08% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin