89% echo-date-4-seo

Code Review | Echo Date 4 SEO

WordPress plugin Echo Date 4 SEO scored89%from 54 tests.

About plugin

  • Plugin page: echo-date-4-seo
  • Plugin version: 1.2.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 12, 2020
  • Latest release: Aug 21, 2023
  • Number of updates: 30
  • Update frequency: every 38.8 days
  • Top authors: gothamdev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /659 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
Install script ran successfully

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

Analyzing server-side resources used by Echo Date 4 SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0136.78 ▼1.38
Dashboard /wp-admin3.32 ▲0.0146.59 ▼2.01
Posts /wp-admin/edit.php3.37 ▲0.0146.05 ▼3.72
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.49 ▼9.47
Media Library /wp-admin/upload.php3.24 ▲0.0136.04 ▲3.73

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Echo Date 4 SEO
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲8713.22 ▼1.171.65 ▼0.0141.67 ▲1.18
Dashboard /wp-admin2,228 ▲374.87 ▼1.05110.56 ▲13.6441.99 ▼0.70
Posts /wp-admin/edit.php2,114 ▲252.03 ▼0.0140.06 ▼0.4233.53 ▼2.94
Add New Post /wp-admin/post-new.php1,543 ▲1023.21 ▲0.16623.92 ▲22.7661.24 ▲11.88
Media Library /wp-admin/upload.php1,410 ▲194.24 ▼0.0599.21 ▲0.3540.49 ▼4.48

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

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 everything seems fine, this is not an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === Echo Date 4 SEO === )
You can take inspiration from this readme.txt

echo-date-4-seo/echodate4seo.php 85% from 13 tests

The principal PHP file in "Echo Date 4 SEO" v. 1.2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("echo-date-4-seo.php" instead of "echodate4seo.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected228 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP23325198
JavaScript13030

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.10
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin