99% genesis-site-title-styles

Code Review | Genesis Site Title Styles

WordPress plugin Genesis Site Title Styles scored 99% from 54 tests.

About plugin

  • Plugin page: genesis-site-titl...
  • Plugin version: 1.10
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8.0-5.8.0
  • WordPress version: 5.9.2
  • First release: Apr 21, 2015
  • Latest release: Aug 3, 2021
  • Number of updates: 34
  • Update frequency: every 67.5 days
  • Top authors: JDELIA (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active / 4,345 total downloads

Benchmarks

Plugin footprint Passed 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.02MB] [CPU: ▼290.17ms] Passed 4 tests

A check of server-side resources used by Genesis Site Title Styles
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0156.95 ▲3.24
Dashboard /wp-admin3.41 ▲0.0133.56 ▼0.14
Posts /wp-admin/edit.php3.64 ▲0.0038.21 ▲0.18
Add New Post /wp-admin/post-new.php6.88 ▼0.0996.61 ▼1,159.40
Media Library /wp-admin/upload.php3.30 ▲0.0024.29 ▼1.32

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Genesis Site Title Styles: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲915.77 ▲0.106.10 ▼0.422.30 ▼0.68
Dashboard /wp-admin2,895 ▲416.12 ▼0.11115.30 ▼13.95155.12 ▼6.53
Posts /wp-admin/edit.php2,691 ▼33.25 ▲0.0166.52 ▲4.54150.85 ▲9.55
Add New Post /wp-admin/post-new.php1,661 ▼5016.43 ▼4.66421.32 ▼52.59155.14 ▼5.93
Media Library /wp-admin/upload.php1,695 ▼65.47 ▲0.04147.68 ▲5.78188.09 ▲2.80

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

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
Congratulations! This plugin passed the SRP test

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 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

genesis-site-title-styles/genesis-site-title-styles.php 92% from 13 tests

The main file in "Genesis Site Title Styles" v. 1.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

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
Good job! No executable or dangerous file extensions detected43 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
Markdown121029
PHP1105814

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.38
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 were not PNG files found in your plugin