90% post-save-list

Code Review | Post Save & List

WordPress plugin Post Save & List scored90%from 54 tests.

About plugin

  • Plugin page: post-save-list
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Apr 4, 2015
  • Latest release: Apr 4, 2015
  • Number of updates: 3
  • Update frequency: every 5.0 days
  • Top authors: markzero (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /621 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
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Post Save & List
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.96 ▼4.93
Dashboard /wp-admin3.31 ▲0.0146.87 ▼0.99
Posts /wp-admin/edit.php3.36 ▲0.0146.31 ▲0.87
Add New Post /wp-admin/post-new.php5.89 ▲0.0187.20 ▼8.34
Media Library /wp-admin/upload.php3.23 ▲0.0135.96 ▲1.25

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Post Save & List: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.13 ▼1.244.76 ▲3.0641.94 ▼4.54
Dashboard /wp-admin2,206 ▲185.88 ▲0.02102.03 ▲3.8737.79 ▼5.74
Posts /wp-admin/edit.php2,092 ▲32.04 ▲0.0339.49 ▲4.6333.49 ▼0.33
Add New Post /wp-admin/post-new.php1,536 ▲322.93 ▼0.35655.50 ▼45.6966.75 ▲12.39
Media Library /wp-admin/upload.php1,388 ▼04.25 ▼0.1297.56 ▼9.8642.66 ▼0.91

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output 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
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
4 plugin tags: list, list posts, save button, save

post-save-list/post-save-list.php Passed 13 tests

This is the main PHP file of "Post Save & List" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
138 characters long description:
This plugin allows you to add Save button next to Publish button. When you click the Save button you'll get redirected to Posts list page.

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 plugin30 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1101028
Markdown1102

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.78
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%
Functions2
▷ Named functions2100.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 are no PNG files in this plugin