90% excerpt-below-title

Code Review | Excerpt below Title

WordPress plugin Excerpt below Title scored90%from 54 tests.

About plugin

  • Plugin page: excerpt-below-title
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9.4
  • WordPress version: 6.3.1
  • First release: Feb 23, 2018
  • Latest release: Feb 23, 2018
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: Kuuak (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /765 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
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Excerpt below Title
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0033.79 ▼5.77
Dashboard /wp-admin3.31 ▲0.0142.93 ▼7.35
Posts /wp-admin/edit.php3.36 ▲0.0143.34 ▼0.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.06 ▼10.36
Media Library /wp-admin/upload.php3.23 ▲0.0131.63 ▼4.86

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Excerpt below Title
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.48 ▲0.111.79 ▲0.0140.73 ▼3.24
Dashboard /wp-admin2,206 ▲154.79 ▼0.09109.14 ▼1.6043.59 ▼1.64
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0041.33 ▲5.5937.51 ▲5.68
Add New Post /wp-admin/post-new.php1,524 ▼423.48 ▲0.28599.87 ▼72.8948.19 ▼9.16
Media Library /wp-admin/upload.php1,388 ▼04.21 ▼0.04101.80 ▼10.1742.09 ▼5.51

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 were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Screenshot #2 (Email link rendered in post page) image missing
The official readme.txt is a good inspiration

excerpt-below-title/excerpt-below-title.php Passed 13 tests

"Excerpt below Title" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
45 characters long description:
Move the excerpt metabox below the post title

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 detected62 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS15031
PHP285431

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions4
▷ Named functions4100.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
No PNG files were detected