84% excellent-transition-gallery

Code Review | Excellent transition gallery

WordPress plugin Excellent transition gallery scored84%from 54 tests.

About plugin

  • Plugin page: excellent-transit...
  • Plugin version: 10.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Oct 14, 2009
  • Latest release: Dec 1, 2022
  • Number of updates: 88
  • Update frequency: every 54.5 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /15,878 total downloads

Benchmarks

Plugin footprint 83% from 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: ▼6.49ms] 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 /3.52 ▲0.0538.30 ▲1.13
Dashboard /wp-admin3.36 ▲0.0244.96 ▼13.75
Posts /wp-admin/edit.php3.42 ▲0.0645.53 ▲2.49
Add New Post /wp-admin/post-new.php5.95 ▲0.0689.65 ▼15.83
Media Library /wp-admin/upload.php3.29 ▲0.0636.77 ▲3.07
Excellent transition gallery /wp-admin/options-general.php?page=excellent-transition-gallery3.2529.44

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, 11 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
etgwtlt_title
etgwtlt_transduration
etgwtlt_pluginurl
etgwtlt_pause
etgwtlt_xmllocation
widget_recent-posts
db_upgraded
...

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 /2,822 ▲6114.11 ▼0.241.79 ▲0.1737.92 ▼2.80
Dashboard /wp-admin2,193 ▲165.54 ▼0.1182.07 ▼2.7336.77 ▼5.01
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0139.87 ▲1.6234.85 ▼1.35
Add New Post /wp-admin/post-new.php1,538 ▲918.71 ▼5.10604.80 ▼11.4660.29 ▼0.48
Media Library /wp-admin/upload.php1,407 ▲104.22 ▲0.0796.85 ▼4.9241.62 ▼5.44
Excellent transition gallery /wp-admin/options-general.php?page=excellent-transition-gallery8901.9921.0824.73

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

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

Optimizations

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.1 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
PHP24117242
PO File24562119
JavaScript161888
XML20046
CSS121315

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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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