84% visual-footer-credit-remover

Code Review | Visual Footer Credit Remover

WordPress plugin Visual Footer Credit Remover scored84%from 54 tests.

About plugin

  • Plugin page: visual-footer-cre...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.4
  • WordPress version: 6.3.1
  • First release: Apr 22, 2020
  • Latest release: Dec 19, 2020
  • Number of updates: 26
  • Update frequency: every 9.3 days
  • Top authors: upwerd (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

40,000+ active /134,092 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

A check of server-side resources used by Visual Footer Credit Remover
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0729.92 ▼19.77
Dashboard /wp-admin3.31 ▲0.0153.08 ▼2.96
Posts /wp-admin/edit.php3.36 ▲0.0152.51 ▼5.80
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.71 ▼13.36
Media Library /wp-admin/upload.php3.24 ▲0.0136.72 ▲3.72
Visual Footer Credit Remover /wp-admin/tools.php?page=visual-footer-credit-remover3.1831.76

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Visual Footer Credit Remover
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,885 ▲11413.95 ▼0.638.09 ▲6.2144.86 ▲7.69
Dashboard /wp-admin2,210 ▲195.83 ▲0.92100.46 ▼3.0140.85 ▼3.64
Posts /wp-admin/edit.php2,093 ▲11.98 ▲0.0039.60 ▼2.8634.16 ▼3.18
Add New Post /wp-admin/post-new.php1,543 ▲2923.45 ▲5.82629.60 ▼73.6049.38 ▼2.71
Media Library /wp-admin/upload.php1,392 ▲44.24 ▼0.0296.73 ▼8.1940.94 ▼7.07
Visual Footer Credit Remover /wp-admin/tools.php?page=visual-footer-credit-remover1,8417.66156.05117.35

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=visual-footer-credit-remover
    • > Notice in wp-content/plugins/visual-footer-credit-remover/visual-footer-credit-remover.php+91
    Trying to access array offset on value of type bool

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: footer, replace, link, remove, html...

visual-footer-credit-remover/visual-footer-credit-remover.php Passed 13 tests

Analyzing the main PHP file in "Visual Footer Credit Remover" version 1.2
41 characters long description:
Visually remove or replace footer credits

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin567 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4430303
PHP13114134
CSS3230130

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions10
▷ Named functions10100.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 are no PNG files in this plugin