84% rsv-multiple-page-creator

Code Review | RSV MPC

WordPress plugin RSV MPC scored84%from 54 tests.

About plugin

  • Plugin page: rsv-multiple-page...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3.1
  • WordPress version: 6.3.1
  • First release: Nov 11, 2015
  • Latest release: Dec 15, 2019
  • Number of updates: 19
  • Update frequency: every 78.7 days
  • Top authors: Rapid Sort (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /905 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
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by RSV MPC
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.40 ▼4.78
Dashboard /wp-admin3.31 ▲0.0147.66 ▼3.42
Posts /wp-admin/edit.php3.36 ▲0.0045.80 ▼5.18
Add New Post /wp-admin/post-new.php5.89 ▲0.00102.28 ▲11.97
Media Library /wp-admin/upload.php3.23 ▲0.0037.47 ▲2.25

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

RSV MPC: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲6613.31 ▼0.911.85 ▼0.1645.89 ▲5.38
Dashboard /wp-admin2,230 ▲275.91 ▲1.01111.36 ▲4.8940.73 ▼0.42
Posts /wp-admin/edit.php2,112 ▲122.00 ▼0.0135.53 ▼3.3133.29 ▼3.91
Add New Post /wp-admin/post-new.php1,557 ▲3122.99 ▲5.49650.69 ▼36.3963.14 ▲10.47
Media Library /wp-admin/upload.php1,409 ▲94.22 ▼0.0798.01 ▼0.5945.29 ▼0.78

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/rsv-multiple-page-creator/rsv-mpc.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 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
5 plugin tags: rsv, create multiple pages in single click, page creator, rsv multiple page creator, pages creator

rsv-multiple-page-creator/rsv-mpc.php 92% from 13 tests

The principal PHP file in "RSV MPC" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rsv-multiple-page-creator.php" instead of "rsv-mpc.php")

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
No dangerous file extensions were detected52 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141152

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin