90% wp-create-multiple-posts-pages

Code Review | WP Create Multiple Posts & Pages

WordPress plugin WP Create Multiple Posts & Pages scored90%from 54 tests.

About plugin

  • Plugin page: wp-create-multipl...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.3
  • WordPress version: 6.3.1
  • First release: Apr 27, 2018
  • Latest release: Aug 27, 2023
  • Number of updates: 15
  • Update frequency: every 129.9 days
  • Top authors: sajjad67 (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

1,000+ active /11,882 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.03MB] [CPU: ▼4.81ms] Passed 4 tests

Analyzing server-side resources used by WP Create Multiple Posts & Pages
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0348.16 ▲7.86
Dashboard /wp-admin3.34 ▲0.0348.65 ▼3.68
Posts /wp-admin/edit.php3.39 ▲0.0349.49 ▼1.69
Add New Post /wp-admin/post-new.php5.94 ▲0.0596.49 ▼12.45
Media Library /wp-admin/upload.php3.26 ▲0.0335.65 ▼1.41

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Create Multiple Posts & Pages
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲3514.82 ▲0.441.99 ▼0.0244.68 ▲6.11
Dashboard /wp-admin2,230 ▲565.08 ▼0.5488.32 ▼0.3338.51 ▼5.49
Posts /wp-admin/edit.php2,132 ▲352.49 ▲0.4642.32 ▲6.2235.99 ▲0.18
Add New Post /wp-admin/post-new.php1,555 ▲2417.88 ▼5.30684.85 ▼3.8236.67 ▼15.84
Media Library /wp-admin/upload.php1,429 ▲294.62 ▲0.40109.92 ▲0.4546.28 ▼0.33

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-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: page, create-post, post, edit-page, create-page...

wp-create-multiple-posts-pages/wp-create-multiple-posts-pages.php Passed 13 tests

"WP Create Multiple Posts & Pages" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Create Multiple Wordpress Posts & Pages At Once With a Single Click.

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 plugin7,919 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
CSS41,031287,645
PHP24737177
JavaScript5355597

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin