89% the-show-must-be-paused

Code Review | The show must be paused

WordPress plugin The show must be paused scored 89% from 54 tests.

About plugin

  • Plugin page: the-show-must-be-...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 4, 2020
  • Latest release: Jun 4, 2020
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: mintplugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 814 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▼0.17MB] [CPU: ▼5.51ms] Passed 4 tests

This is a short check of server-side resources used by The show must be paused
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.74 ▼0.7312.15 ▼29.64
Dashboard /wp-admin3.31 ▲0.0147.54 ▲3.04
Posts /wp-admin/edit.php3.36 ▲0.0148.43 ▲1.25
Add New Post /wp-admin/post-new.php5.89 ▲0.0198.76 ▲4.31
Media Library /wp-admin/upload.php3.24 ▲0.0137.03 ▲3.31

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for The show must be paused
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,478 ▼26813.60 ▼1.080.68 ▼1.1234.48 ▼11.26
Dashboard /wp-admin2,206 ▲215.90 ▲0.02108.56 ▲4.9942.54 ▲1.18
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0339.95 ▼2.4936.88 ▲1.28
Add New Post /wp-admin/post-new.php1,549 ▲1619.11 ▼4.22591.66 ▼69.7687.56 ▲24.77
Media Library /wp-admin/upload.php1,382 ▼64.34 ▲0.1396.47 ▲1.1344.77 ▲1.08

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

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)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
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 a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: requires at least 51

the-show-must-be-paused/the-show-must-be-paused.php 85% from 13 tests

The principal PHP file in "The show must be paused" v. 1.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Domain Path: Prefix the domain path with a forward slash character ("/languages")
  • Domain Path: The domain path should use only dashes and lowercase characters ("languages")

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
Everything looks great! No dangerous files found in this plugin129 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP12948121
Markdown1507
CSS1061

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.43
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