78% storefront-footer

Code Review | Change Storefront Footer Copyright Text

WordPress plugin Change Storefront Footer Copyright Text scored78%from 54 tests.

About plugin

  • Plugin page: storefront-footer
  • Plugin version: 2.1.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4
  • WordPress version: 6.3.1
  • First release: Apr 5, 2018
  • Latest release: Nov 13, 2023
  • Number of updates: 55
  • Update frequency: every 37.2 days
  • Top authors: quadlayers (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

5,000+ active /159,786 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.37MB] [CPU: ▲1.37ms] Passed 4 tests

An overview of server-side resources used by Change Storefront Footer Copyright Text
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.84 ▲0.3744.72 ▲4.27
Dashboard /wp-admin3.77 ▲0.4651.65 ▼0.60
Posts /wp-admin/edit.php3.77 ▲0.4151.00 ▲4.50
Add New Post /wp-admin/post-new.php6.24 ▲0.35100.30 ▼2.69
Media Library /wp-admin/upload.php3.58 ▲0.3539.00 ▲6.85
Storefront Footer /wp-admin/options-general.php?page=storefront-footer3.6138.64

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Change Storefront Footer Copyright Text
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,892 ▲13014.67 ▲0.321.95 ▲0.2743.84 ▼0.33
Dashboard /wp-admin2,297 ▲1225.59 ▼0.0784.44 ▼23.5244.99 ▲1.59
Posts /wp-admin/edit.php2,104 ▲11.96 ▼0.0141.24 ▲1.7237.16 ▲3.13
Add New Post /wp-admin/post-new.php1,532 ▲622.93 ▼0.55593.26 ▼26.0250.20 ▼0.87
Media Library /wp-admin/upload.php1,404 ▲44.19 ▲0.0295.23 ▼6.5142.26 ▲0.54
Storefront Footer /wp-admin/options-general.php?page=storefront-footer1,5216.84148.2268.93

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 13× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installer\\LibraryInstaller' not found in wp-content/plugins/storefront-footer/vendor/automattic/jetpack-composer-plugin/src/class-manager.php:18
    • > PHP Fatal error
      Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlug.php on line 20
    • > PHP Fatal error
      Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/storefront-footer/vendor/automattic/jetpack-composer-plugin/src/class-plugin.php:24
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-plugin-install-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14
    • > PHP Fatal error
      Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlugV2.php on line 20
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/view/suggestions.php:21
    • > PHP Fatal error
      Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginDataByFile' not found in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginByFile.php on line 20
    • > PHP Fatal error
      Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActionsLinks' not found in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/Traits/PluginActions.php on line 20
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/storefront-footer/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=storefront-footer
    • > Network (severe)
    wp-content/plugins/storefront-footer/assets/quadlayers.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: storefront, storefront footer copyright, storefront credit, storefront footer, storefront footer text

storefront-footer/storefront-footer.php 92% from 13 tests

The primary PHP file in "Change Storefront Footer Copyright Text" version 2.1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "4.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,839 lines of code in 60 files:
LanguageFilesBlank linesComment linesLines of code
PHP455371,7012,597
Markdown122700730
JSON100458
JavaScript291454

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity14.38
▷ Minimum class complexity1.00
▷ Maximum class complexity91.00
Average method complexity2.99
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces12
Interfaces0
Traits3
Classes21
▷ Abstract classes00.00%
▷ Concrete classes21100.00%
▷ Final classes14.76%
Methods150
▷ Static methods4932.67%
▷ Public methods12583.33%
▷ Protected methods00.00%
▷ Private methods2516.67%
Functions14
▷ Named functions17.14%
▷ Anonymous functions1392.86%
Constants24
▷ Global constants24100.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 are no PNG files in this plugin