84% automatic-footer-copyright

Code Review | Automatic Footer Copyright for Genesis

WordPress plugin Automatic Footer Copyright for Genesis scored84%from 54 tests.

About plugin

  • Plugin page: automatic-footer-...
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4
  • WordPress version: 6.3.1
  • First release: Apr 2, 2013
  • Latest release: Mar 2, 2016
  • Number of updates: 15
  • Update frequency: every 71.1 days
  • Top authors: ishan001 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /6,384 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.18ms] Passed 4 tests

An overview of server-side resources used by Automatic Footer Copyright for Genesis
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.09 ▼4.59
Dashboard /wp-admin3.31 ▲0.0148.55 ▼0.41
Posts /wp-admin/edit.php3.36 ▲0.0049.06 ▼5.23
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.15 ▼6.50
Media Library /wp-admin/upload.php3.23 ▲0.0034.96 ▲0.89

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Automatic Footer Copyright for Genesis
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.011.84 ▲0.1144.23 ▼6.85
Dashboard /wp-admin2,198 ▲175.61 ▼0.0985.32 ▼14.5342.09 ▲1.05
Posts /wp-admin/edit.php2,103 ▲32.01 ▲0.0240.55 ▼0.5534.21 ▼8.03
Add New Post /wp-admin/post-new.php1,526 ▼922.99 ▲4.87702.58 ▲81.6355.30 ▼8.82
Media Library /wp-admin/upload.php1,394 ▼64.19 ▼0.0398.78 ▲0.1643.82 ▼1.55

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
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/automatic-footer-copyright/AutoFooterCopyright.php:42

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: genesis, copyright, footer

automatic-footer-copyright/AutoFooterCopyright.php 92% from 13 tests

The main PHP file in "Automatic Footer Copyright for Genesis" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("automatic-footer-copyright.php" instead of "AutoFooterCopyright.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected30 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP121030

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin