100% reserve-post-board

Code Review | Reserve Post Board

WordPress plugin Reserve Post Board scored 100% from 54 tests.

About plugin

  • Plugin page: reserve-post-board
  • Plugin version: 1.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.0
  • WordPress version: 5.8.1
  • First release: Dec 4, 2018
  • Latest release: Dec 17, 2018
  • Number of updates: 8
  • Update frequency: every 1.6 days
  • Top authors: pressmaninc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 305 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼140.86ms] Passed 4 tests

An overview of server-side resources used by Reserve Post Board
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1434.44 ▲11.82
Dashboard /wp-admin3.09 ▲0.0347.93 ▲4.44
Posts /wp-admin/edit.php3.13 ▲0.0244.19 ▼0.68
Add New Post /wp-admin/post-new.php5.45 ▲0.0188.62 ▼560.38
Media Library /wp-admin/upload.php3.03 ▲0.0132.07 ▼6.80

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Reserve Post Board
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,742 ▲14616.03 ▲0.4110.17 ▼2.5247.69 ▼2.86
Dashboard /wp-admin3,033 ▲995.92 ▼0.05137.52 ▼14.06108.75 ▼5.89
Posts /wp-admin/edit.php2,739 ▼02.73 ▲0.0161.10 ▼9.9786.89 ▼2.76
Add New Post /wp-admin/post-new.php1,500 ▼17618.46 ▼0.49368.31 ▼10.30105.99 ▼10.31
Media Library /wp-admin/upload.php1,807 ▼05.03 ▲0.00158.88 ▼7.93114.97 ▼8.03

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: custom post, post, future, dashboard, wordpress dashboard

reserve-post-board/reserve-post-board.php Passed 13 tests

The main PHP file in "Reserve Post Board" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
26 characters long description:
Reserve Post in Dash Board

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin185 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP12527117
CSS19041
PO File14627

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin