90% easy-simple-slider-for-frontend

Code Review | Easy Simple Slider For Frontend

WordPress plugin Easy Simple Slider For Frontend scored90%from 54 tests.

About plugin

  • Plugin page: easy-simple-slide...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.9
  • WordPress version: 6.3.1
  • First release: Jul 14, 2018
  • Latest release: Jul 14, 2018
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: gautamb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /704 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
Installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼6.10ms] Passed 4 tests

Server-side resources used by Easy Simple Slider For Frontend
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1139.55 ▼10.94
Dashboard /wp-admin3.40 ▲0.1050.91 ▼2.80
Posts /wp-admin/edit.php3.51 ▲0.1647.15 ▼2.33
Add New Post /wp-admin/post-new.php5.98 ▲0.1086.12 ▼8.33
Media Library /wp-admin/upload.php3.32 ▲0.1036.71 ▲2.67
Slider Terms /wp-admin/edit-tags.php?taxonomy=simple-slider-taxonomy&post_type=slider_for_frontend3.4436.04
Easy Simple Sliders /wp-admin/edit.php?post_type=slider_for_frontend3.3737.52
Add New /wp-admin/post-new.php?post_type=slider_for_frontend3.4858.55

Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy Simple Slider For Frontend
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,949 ▲18813.50 ▼1.058.28 ▲6.6540.17 ▼3.14
Dashboard /wp-admin2,269 ▲925.65 ▲0.0689.31 ▼4.0043.67 ▲2.62
Posts /wp-admin/edit.php2,131 ▲342.04 ▲0.0739.76 ▲2.7436.33 ▲2.67
Add New Post /wp-admin/post-new.php1,552 ▲2423.52 ▲0.39673.44 ▲43.7950.86 ▲7.11
Media Library /wp-admin/upload.php1,428 ▲314.15 ▼0.01107.74 ▲3.7147.02 ▲1.59
Slider Terms /wp-admin/edit-tags.php?taxonomy=simple-slider-taxonomy&post_type=slider_for_frontend1,3022.1227.0930.77
Easy Simple Sliders /wp-admin/edit.php?post_type=slider_for_frontend1,1541.9331.3831.89
Add New /wp-admin/post-new.php?post_type=slider_for_frontend2,7247.75173.7267.68

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: slider, frontend, simple, for frontend, easy

easy-simple-slider-for-frontend/easy-simple-slider-for-frontend.php Passed 13 tests

The main PHP script in "Easy Simple Slider For Frontend" version 1.0.0 is automatically included on every request by WordPress
131 characters long description:
Easy Simple Slider For Frontend plugin is used for displaying the custom post type slider for web pages to easily navigate on pages

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin594 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP367230304
CSS1129270
SVG10019
JavaScript1031

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity14.33
▷ Minimum class complexity1.00
▷ Maximum class complexity33.00
Average method complexity3.86
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods14
▷ Static methods17.14%
▷ Public methods1285.71%
▷ Protected methods00.00%
▷ Private methods214.29%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin