84% wp-featured-soliloquy-sliders

Code Review | WP Featured Soliloquy Sliders

WordPress plugin WP Featured Soliloquy Sliders scored84%from 54 tests.

About plugin

  • Plugin page: wp-featured-solil...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.3
  • WordPress version: 6.3.1
  • First release: Aug 23, 2014
  • Latest release: Aug 21, 2015
  • Number of updates: 5
  • Update frequency: every 72.8 days
  • Top authors: topher1kenobe (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /13,260 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 gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.84ms] Passed 4 tests

Server-side resources used by WP Featured Soliloquy Sliders
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.99 ▼5.12
Dashboard /wp-admin3.32 ▼0.0251.65 ▼17.12
Posts /wp-admin/edit.php3.38 ▲0.0249.62 ▼0.14
Add New Post /wp-admin/post-new.php5.91 ▲0.0288.22 ▼16.96
Media Library /wp-admin/upload.php3.25 ▲0.0240.78 ▲3.99

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for WP Featured Soliloquy Sliders
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.77 ▲0.161.86 ▼0.1843.09 ▲0.35
Dashboard /wp-admin2,192 ▲215.49 ▼0.0989.24 ▼12.0940.09 ▼1.79
Posts /wp-admin/edit.php2,103 ▲31.94 ▼0.0341.31 ▲5.7436.14 ▼2.43
Add New Post /wp-admin/post-new.php6,227 ▲4,69925.89 ▲2.70904.85 ▲216.9556.75 ▼5.18
Media Library /wp-admin/upload.php1,394 ▼94.24 ▲0.00100.17 ▼1.7245.68 ▲3.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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-featured-soliloquy-sliders/wp-featured-soliloquy-sliders.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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
5 plugin tags: soliloquy, featured, pages, posts, sliders

wp-featured-soliloquy-sliders/wp-featured-soliloquy-sliders.php 92% from 13 tests

Analyzing the main PHP file in "WP Featured Soliloquy Sliders" version 1.1
The following require your attention:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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
No dangerous file extensions were detected76 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1368876

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods116.67%
▷ Public methods466.67%
▷ Protected methods00.00%
▷ Private methods233.33%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin