84% genesis-extra-settings-transporter

Code Review | Genesis Extra Settings Transporter - Migrate Settings between Genesis Sites

WordPress plugin Genesis Extra Settings Transporter - Migrate Settings between Genesis Sites scored84%from 54 tests.

About plugin

  • Plugin page: genesis-extra-set...
  • Plugin version: 1.4.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.3
  • WordPress version: 6.3.1
  • First release: Jan 25, 2013
  • Latest release: Nov 13, 2019
  • Number of updates: 22
  • Update frequency: every 112.9 days
  • Top authors: daveshine (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /14,283 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

An overview of server-side resources used by Genesis Extra Settings Transporter - Migrate Settings between Genesis Sites
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.07 ▲0.60
Dashboard /wp-admin3.31 ▼0.0451.87 ▼16.08
Posts /wp-admin/edit.php3.36 ▲0.0049.35 ▲1.15
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.82 ▼25.64
Media Library /wp-admin/upload.php3.23 ▲0.0042.36 ▲4.22

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Genesis Extra Settings Transporter - Migrate Settings between Genesis Sites
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.251.72 ▼0.0143.68 ▼0.94
Dashboard /wp-admin2,198 ▲275.61 ▼0.0885.96 ▼3.3737.39 ▼5.31
Posts /wp-admin/edit.php2,100 ▼51.95 ▼0.0142.14 ▲4.9837.43 ▲3.65
Add New Post /wp-admin/post-new.php1,526 ▼223.01 ▼0.18670.52 ▼3.3260.69 ▲4.05
Media Library /wp-admin/upload.php1,403 ▲34.21 ▲0.11107.92 ▼11.3646.32 ▼3.89

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 9× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-admin-help.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-admin-functions.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/genesis-extra-settings-transporter.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-options-child-themes.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-options-premise.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/ddwlib-plir/ddwlib-plugin-installer-recommendations.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-options-plugins.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-functions-global.php
    • > /wp-content/plugins/genesis-extra-settings-transporter/includes/gest-admin-extras.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)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Tags: There are too many tags (13 tag instead of maximum 10)
The official readme.txt might help

genesis-extra-settings-transporter/genesis-extra-settings-transporter.php Passed 13 tests

"Genesis Extra Settings Transporter - Migrate Settings between Genesis Sites" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
130 characters long description:
Adds support for exporting settings of various Genesis Framework specific plugins & Child Themes via the Genesis Exporter feature.

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
There were no executable files found in this plugin2,780 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP118018351,653
PO File2214450636
Markdown31640341
CSS13611128
JSON10022

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity35.00
▷ Minimum class complexity35.00
▷ Maximum class complexity35.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods17
▷ Static methods1694.12%
▷ Public methods17100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions28
▷ Named functions28100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/ddwlib-plir/deckerweb-plugins-logo.png15.80KB6.20KB▼ 60.78%