84% dated

Code Review | autometa's DATED

WordPress plugin autometa's DATED scored84%from 54 tests.

About plugin

  • Plugin page: dated
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-4.9.2
  • WordPress version: 6.3.1
  • First release: Sep 25, 2016
  • Latest release: Jan 18, 2018
  • Number of updates: 15
  • Update frequency: every 32.1 days
  • Top authors: JorgeAmVF (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /805 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 successfully, without throwing any errors or notices

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

A check of server-side resources used by autometa's DATED
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.23 ▼5.33
Dashboard /wp-admin3.31 ▲0.0043.25 ▼5.97
Posts /wp-admin/edit.php3.36 ▲0.0046.92 ▼2.06
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.93 ▼7.18
Media Library /wp-admin/upload.php3.23 ▲0.0034.55 ▲0.49

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

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

Browser metrics Passed 4 tests

autometa's DATED: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.71 ▼0.651.83 ▲0.0438.85 ▼5.65
Dashboard /wp-admin2,206 ▲185.83 ▲0.7899.00 ▼1.6839.33 ▼5.56
Posts /wp-admin/edit.php2,089 ▼32.00 ▼0.0138.69 ▼3.4233.90 ▼2.49
Add New Post /wp-admin/post-new.php1,542 ▲2318.22 ▼5.04639.92 ▲34.5578.81 ▲30.07
Media Library /wp-admin/upload.php1,385 ▼34.19 ▼0.0598.94 ▼2.5139.86 ▼5.12

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/dated/dated.php:33

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: automation, metadata, shortcode, date

dated/dated.php Passed 13 tests

The principal PHP file in "autometa's DATED" v. 2.2 is loaded by WordPress automatically on each request
92 characters long description:
It reproduces publication dates in pages, posts, portfolios or products simply via: [dated].

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin7 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15227

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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