94% monoslideshow

Code Review | Monoslideshow

WordPress plugin Monoslideshow scored 94% from 54 tests.

About plugin

  • Plugin page: monoslideshow
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-3.8
  • WordPress version: 5.8.1
  • First release: Apr 28, 2014
  • Latest release: Apr 28, 2014
  • Number of updates: 5
  • Update frequency: every 3.4 days
  • Top authors: monokai_nl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 974 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼144.46ms] Passed 4 tests

Server-side resources used by Monoslideshow
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0026.17 ▲3.61
Dashboard /wp-admin3.06 ▼0.0031.22 ▼7.92
Posts /wp-admin/edit.php3.11 ▲0.0028.60 ▼3.89
Add New Post /wp-admin/post-new.php5.42 ▼0.0267.30 ▼567.45
Media Library /wp-admin/upload.php3.00 ▲0.0022.24 ▲1.44

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 4 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Monoslideshow
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲1515.90 ▼0.128.48 ▲2.4276.69 ▼2.48
Dashboard /wp-admin2,929 ▲336.10 ▼0.05114.51 ▼18.10166.27 ▼7.65
Posts /wp-admin/edit.php2,743 ▲33.24 ▲0.0165.59 ▼1.23139.66 ▲3.07
Add New Post /wp-admin/post-new.php3,735 ▲2918.12 ▼0.88412.64 ▼34.77158.65 ▼6.25
Media Library /wp-admin/upload.php1,752 ▲65.55 ▲0.04141.35 ▼3.91178.73 ▼1.54

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/monoslideshow/monoslideshow.php:83

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: slideshow, customize, monoslideshow, ipad, ios...

monoslideshow/monoslideshow.php Passed 13 tests

The primary PHP file in "Monoslideshow" version 1.0 is used by WordPress to initiate all plugin functionality
104 characters long description:
Monoslideshow For Wordpress replaces the standard photo gallery created in Wordpress with Monoslideshow.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected789 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity6.00
▷ Minimum class complexity4.00
▷ Maximum class complexity8.00
Average method complexity1.71
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods321.43%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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