84% wp-gallery-exporter

Code Review | WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer

WordPress plugin WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer scored84%from 54 tests.

About plugin

  • Plugin page: wp-gallery-exporter
  • Plugin version: 1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1
  • WordPress version: 6.3.1
  • First release: Feb 1, 2019
  • Latest release: Oct 10, 2023
  • Number of updates: 21
  • Update frequency: every 81.6 days
  • Top authors: wpcloudgallery (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

400+ active /5,426 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.29ms] Passed 4 tests

Server-side resources used by WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.28 ▼3.70
Dashboard /wp-admin3.33 ▲0.0346.47 ▼7.06
Posts /wp-admin/edit.php3.39 ▲0.0348.03 ▲1.50
Add New Post /wp-admin/post-new.php5.92 ▲0.0383.47 ▼9.86
Media Library /wp-admin/upload.php3.26 ▲0.0334.64 ▼0.54

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲5914.27 ▼0.101.67 ▼0.1141.17 ▼4.76
Dashboard /wp-admin2,229 ▲555.65 ▲0.0682.21 ▼23.0039.74 ▼4.17
Posts /wp-admin/edit.php2,135 ▲381.99 ▲0.0238.71 ▲4.0936.75 ▼3.44
Add New Post /wp-admin/post-new.php1,536 ▲723.29 ▲0.23667.79 ▲20.1157.90 ▲0.31
Media Library /wp-admin/upload.php1,431 ▲314.19 ▼0.0195.30 ▼13.3644.62 ▼1.87

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 detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 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
The following issues need your attention
  • 7× PHP files output text when accessed directly:
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-about.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgalleryexporter.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-envira.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-history.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-nextgen.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-foogallery.php
    • > /wp-content/plugins/wp-gallery-exporter/wpgexporter-main.php

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 on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
There were no plugin tags found

wp-gallery-exporter/wpgalleryexporter.php 85% from 13 tests

The principal PHP file in "WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer" v. 1.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-gallery-exporter.php" instead of "wpgalleryexporter.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin983 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP725767983

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions37
▷ Named functions3183.78%
▷ Anonymous functions616.22%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin