84% alt-multiduplicator

Code Review | AlT Multiduplicator

WordPress plugin AlT Multiduplicator scored84%from 54 tests.

About plugin

  • Plugin page: alt-multiduplicator
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8
  • WordPress version: 6.3.1
  • First release: Jun 30, 2017
  • Latest release: Jun 30, 2017
  • Number of updates: 5
  • Update frequency: every 1.8 days
  • Top authors: AlTi5 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /908 total downloads


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
Install script ran successfully

Server metrics [RAM: ▼0.12MB] [CPU: ▼9.42ms] Passed 4 tests

This is a short check of server-side resources used by AlT Multiduplicator
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0044.23 ▼2.49
Dashboard /wp-admin3.31 ▼0.0347.94 ▼17.26
Posts /wp-admin/edit.php3.36 ▲0.0152.06 ▲4.98
Add New Post /wp-admin/post-new.php5.44 ▼0.4478.64 ▼16.78
Media Library /wp-admin/upload.php3.23 ▲0.0136.25 ▼1.14

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for AlT Multiduplicator
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▲0.141.77 ▼0.2741.20 ▼2.22
Dashboard /wp-admin2,195 ▲215.61 ▲0.1091.88 ▼12.8340.62 ▼1.03
Posts /wp-admin/edit.php2,100 ▼02.02 ▼0.0138.96 ▲4.5036.00 ▼1.99
Add New Post /wp-admin/post-new.php662 ▼8641.71 ▼21.6119.50 ▼682.085.92 ▼46.90
Media Library /wp-admin/upload.php1,397 ▼34.20 ▼0.01106.13 ▼0.2845.36 ▲2.20

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • recovery_mode_email_last_sent
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/alt-multiduplicator/alt-multiduplicator.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: stiky, stiky menu, menu, scroll

alt-multiduplicator/alt-multiduplicator.php Passed 13 tests

The principal PHP file in "AlT Multiduplicator" v. 1.2.0 is loaded by WordPress automatically on each request
84 characters long description:
Permet de dupliquer des posts sur un site multisite en respectant le référencement

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
There were no executable files found in this plugin409 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity12.75
▷ Minimum class complexity1.00
▷ Maximum class complexity41.00
Average method complexity2.27
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods2362.16%
▷ Public methods3389.19%
▷ Protected methods38.11%
▷ Private methods12.70%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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