94% excellent-transition-gallery

Code Review | Excellent transition gallery

WordPress plugin Excellent transition gallery scored 94% from 54 tests.

About plugin

  • Plugin page: excellent-transit...
  • Plugin version: 10.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.8
  • WordPress version: 5.8.1
  • First release: Oct 14, 2009
  • Latest release: Aug 15, 2021
  • Number of updates: 85
  • Update frequency: every 50.9 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 15,291 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼171.96ms] Passed 4 tests

This is a short check of server-side resources used by Excellent transition gallery
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.1736.81 ▲11.18
Dashboard /wp-admin3.12 ▲0.0646.98 ▼0.36
Posts /wp-admin/edit.php3.17 ▲0.0645.27 ▼2.98
Add New Post /wp-admin/post-new.php5.47 ▲0.0488.57 ▼680.66
Media Library /wp-admin/upload.php3.06 ▲0.0528.55 ▼3.82
Excellent transition gallery /wp-admin/options-general.php?page=excellent-transition-gallery3.0328.36

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 5 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Excellent transition gallery
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,688 ▲9215.96 ▲0.377.94 ▼2.4347.21 ▼5.68
Dashboard /wp-admin2,972 ▲415.88 ▼0.14132.52 ▼17.97109.54 ▲0.36
Posts /wp-admin/edit.php2,744 ▲52.71 ▲0.0163.42 ▼0.5686.83 ▲2.13
Add New Post /wp-admin/post-new.php1,675 ▲6018.86 ▼3.02381.92 ▲105.93113.62 ▲7.69
Media Library /wp-admin/upload.php1,815 ▲85.05 ▲0.03144.57 ▲1.26121.44 ▲2.05
Excellent transition gallery /wp-admin/options-general.php?page=excellent-transition-gallery1,1582.0959.2675.45

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/excellent-transition-gallery/excellent-transition-gallery.php:66

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt might help

excellent-transition-gallery/excellent-transition-gallery.php 92% from 13 tests

The main file in "Excellent transition gallery" v. 10.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 254 characters long)

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
There were no executable files found in this plugin510 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PO File24562119

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions11100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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