84% whats-running

Code Review | What's running

WordPress plugin What's running scored84%from 54 tests.

About plugin

  • Plugin page: whats-running
  • Plugin version: 1.9.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.3
  • WordPress version: 6.3.1
  • First release: Mar 20, 2014
  • Latest release: Aug 25, 2015
  • Number of updates: 30
  • Update frequency: every 17.4 days
  • Top authors: szepe.viktor (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,263 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.00MB] [CPU: ▼7.68ms] Passed 4 tests

A check of server-side resources used by What's running
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0139.19 ▼3.72
Dashboard /wp-admin3.36 ▼0.0348.51 ▼14.33
Posts /wp-admin/edit.php3.41 ▲0.0150.19 ▼2.93
Add New Post /wp-admin/post-new.php5.94 ▲0.0193.22 ▼9.73
Media Library /wp-admin/upload.php3.28 ▲0.0137.81 ▼1.72

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for What's running
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /7,420 ▲4,63414.37 ▼0.191.75 ▼0.0055.72 ▲13.93
Dashboard /wp-admin3,836 ▲1,6565.65 ▲0.0896.33 ▲7.6658.27 ▲14.23
Posts /wp-admin/edit.php3,729 ▲1,6292.01 ▲0.0638.72 ▼0.2155.07 ▲17.04
Add New Post /wp-admin/post-new.php3,194 ▲1,66620.12 ▼2.66667.04 ▲8.7572.26 ▼0.97
Media Library /wp-admin/upload.php3,038 ▲1,6354.17 ▼0.0794.79 ▼11.6959.95 ▲17.14

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > Break-in attempt detected
      whats_running_direct_access /wp-content/plugins/whats-running/wp-requires.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: debugger, development, performance, debug, profiling...

whats-running/wp-requires.php 92% from 13 tests

Analyzing the main PHP file in "What's running" version 1.9.1
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("whats-running.php" instead of "wp-requires.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin80 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1141280

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.69
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

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