84% you-can-quote-me-on-that

Code Review | You can quote me on that

WordPress plugin You can quote me on that scored84%from 54 tests.

About plugin

  • Plugin page: you-can-quote-me-...
  • Plugin version: 1.0.09
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Jul 15, 2020
  • Latest release: Apr 21, 2023
  • Number of updates: 11
  • Update frequency: every 91.8 days
  • Top authors: outtheboxthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active /10,001 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2954.42 ▲18.16
Dashboard /wp-admin3.57 ▲0.2256.29 ▼4.20
Posts /wp-admin/edit.php3.68 ▲0.3351.59 ▲6.15
Add New Post /wp-admin/post-new.php6.20 ▲0.3290.41 ▼8.99
Media Library /wp-admin/upload.php3.49 ▲0.2641.34 ▲8.49
Create New Slider /wp-admin/post-new.php?post_type=ycqmot3.5548.72
View Sliders /wp-admin/edit.php?post_type=ycqmot3.5442.05
Our Themes /wp-admin/edit.php?post_type=ycqmot&page=themes3.4638.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,946 ▲16013.79 ▼0.599.92 ▲8.1243.54 ▲1.84
Dashboard /wp-admin2,233 ▲565.60 ▼0.0789.31 ▼0.5842.68 ▲0.58
Posts /wp-admin/edit.php2,138 ▲382.04 ▲0.0633.43 ▼4.4236.13 ▼1.13
Add New Post /wp-admin/post-new.php1,559 ▲2223.11 ▲5.09685.17 ▲40.7057.23 ▼14.17
Media Library /wp-admin/upload.php1,438 ▲354.15 ▼0.0296.60 ▲1.0141.71 ▲0.44
Create New Slider /wp-admin/post-new.php?post_type=ycqmot1,9503.7673.2949.01
View Sliders /wp-admin/edit.php?post_type=ycqmot1,1021.9629.9632.03
Our Themes /wp-admin/edit.php?post_type=ycqmot&page=themes9162.0424.1546.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

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:
LanguageFilesBlank linesComment linesLines of code
JavaScript121,1801,3306,293
CSS4129513,141
SVG1002,671
PHP123616001,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 code0.34
Average class complexity34.25
▷ Minimum class complexity8.00
▷ Maximum class complexity51.00
Average method complexity3.77
▷ Minimum method complexity1.00
▷ Maximum method complexity38.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods48
▷ Static methods36.25%
▷ Public methods4593.75%
▷ Protected methods24.17%
▷ Private methods12.08%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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