72% never-outdated

Code Review | Never Outdated

WordPress plugin Never Outdated scored72%from 54 tests.

About plugin

  • Plugin page: never-outdated
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Sep 26, 2012
  • Latest release: Sep 28, 2012
  • Number of updates: 15
  • Update frequency: every 0.7 days
  • Top authors: tesial (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,251 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

This is a short check of server-side resources used by Never Outdated
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.87 ▼3.21
Dashboard /wp-admin3.33 ▼0.0244.31 ▼19.11
Posts /wp-admin/edit.php3.38 ▲0.0247.30 ▲1.77
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.86 ▼7.53
Media Library /wp-admin/upload.php3.25 ▲0.0232.13 ▼1.37

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

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

Browser metrics Passed 4 tests

Never Outdated: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.26 ▼1.111.65 ▼0.0042.60 ▼0.53
Dashboard /wp-admin2,210 ▲194.92 ▲0.01108.65 ▼7.2338.48 ▼4.33
Posts /wp-admin/edit.php2,093 ▲72.04 ▲0.0338.97 ▲3.7434.82 ▼0.18
Add New Post /wp-admin/post-new.php1,545 ▲1718.32 ▼4.84616.99 ▼74.4753.05 ▲1.44
Media Library /wp-admin/upload.php1,389 ▲14.16 ▼0.06102.86 ▼5.5144.65 ▼1.08
WP Never Outdated /wp-admin/wp-never-outdated.php260.440.1015.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • plugin_wp_never_outdated_settings
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

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

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/never-outdated/wp-never-outdated.php
  • 1× PHP files trigger server errors when accessed directly:
    • > Uninstalling WPNeverOutdated ...

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
    • > GET request to /wp-admin/wp-never-outdated.php
    • > Network (severe)
    wp-admin/wp-never-outdated.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 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
10 plugin tags: update, blog, plugin, wordpress, cms...

never-outdated/wp-never-outdated.php 85% from 13 tests

This is the main PHP file of "Never Outdated" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 252 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("never-outdated.php" instead of "wp-never-outdated.php")

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
There were no executable files found in this plugin270 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP25979200
PO File2264670

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity1.71
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
There were not PNG files found in your plugin