90% remove-built-by-storefront

Code Review | Remove built by storefront

WordPress plugin Remove built by storefront scored90%from 54 tests.

About plugin

  • Plugin page: remove-built-by-s...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.4
  • WordPress version: 6.3.1
  • First release: Jun 11, 2020
  • Latest release: Jun 12, 2020
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: glassofcode (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /7,108 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
Installer ran successfully

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

Server-side resources used by Remove built by storefront
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.61 ▼3.82
Dashboard /wp-admin3.31 ▲0.0047.56 ▼9.58
Posts /wp-admin/edit.php3.36 ▲0.0047.37 ▼3.61
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.79 ▼1.08
Media Library /wp-admin/upload.php3.23 ▲0.0038.68 ▲6.82

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Remove built by storefront
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.30 ▼1.051.70 ▼0.3841.62 ▼2.28
Dashboard /wp-admin2,221 ▲185.84 ▼0.00100.54 ▼19.9839.62 ▼7.84
Posts /wp-admin/edit.php2,100 ▼01.99 ▼0.0236.05 ▼0.1235.06 ▼3.12
Add New Post /wp-admin/post-new.php1,545 ▲1923.11 ▲5.57637.26 ▼1.0653.89 ▲1.46
Media Library /wp-admin/upload.php1,391 ▼64.23 ▲0.0295.73 ▼13.3545.14 ▼0.37

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 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
3 plugin tags: credit, storefront, footer

remove-built-by-storefront/remove-built-by-storefront.php Passed 13 tests

The primary PHP file in "Remove built by storefront" version 1.0 is used by WordPress to initiate all plugin functionality
91 characters long description:
Just a very basic plugin to remove built by storefront credit when you use storefront theme

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected11 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141211

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.75
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
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