90% missing-content

Code Review | Missing Content

WordPress plugin Missing Content scored90%from 54 tests.

About plugin

  • Plugin page: missing-content
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.9
  • WordPress version: 6.3.1
  • First release: Mar 26, 2014
  • Latest release: Mar 30, 2014
  • Number of updates: 10
  • Update frequency: every 0.5 days
  • Top authors: dholloran (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

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

An overview of server-side resources used by Missing Content
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.33 ▼3.29
Dashboard /wp-admin3.31 ▲0.0048.54 ▼6.41
Posts /wp-admin/edit.php3.36 ▲0.0050.65 ▲3.09
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.53 ▼1.96
Media Library /wp-admin/upload.php3.23 ▲0.0039.62 ▲3.09

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Missing Content
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲5613.30 ▼1.341.74 ▲0.1039.59 ▼1.84
Dashboard /wp-admin2,221 ▲185.83 ▼0.07101.50 ▼7.0339.06 ▼4.88
Posts /wp-admin/edit.php2,100 ▼32.03 ▲0.0139.09 ▲2.9134.90 ▼0.64
Add New Post /wp-admin/post-new.php1,526 ▼617.37 ▼5.62655.21 ▼19.6659.79 ▲1.55
Media Library /wp-admin/upload.php1,397 ▼04.17 ▼0.05101.46 ▲1.3046.98 ▲0.38

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

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)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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: development, content, testing, shortcode

missing-content/missing-content.php Passed 13 tests

Analyzing the main PHP file in "Missing Content" version 1.1.0
64 characters long description:
Adds a missing content notice for when there is missing content.

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
There were no executable files found in this plugin832 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
SVG100531
PHP2127355276
CSS14025

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions19
▷ Named functions19100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There were not PNG files found in your plugin