94% the-wp-manager

Code Review | WP Manager - One click Max Upload File Size fixer

WordPress plugin WP Manager - One click Max Upload File Size fixer scored 94% from 53 tests.

About plugin

  • Plugin page: the-wp-manager
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7
  • WordPress version: 5.8.1
  • First release: Mar 31, 2021
  • Latest release: Apr 1, 2021
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: theinnovs (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 110 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

A check of server-side resources used by WP Manager - One click Max Upload File Size fixer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1231.02 ▲8.93
Dashboard /wp-admin3.06 ▲0.0140.49 ▼2.22
Posts /wp-admin/edit.php3.11 ▲0.0144.90 ▲4.13
Add New Post /wp-admin/post-new.php5.42 ▼0.0188.58 ▼1,166.39
Media Library /wp-admin/upload.php3.00 ▼0.0032.38 ▼6.70

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

WP Manager - One click Max Upload File Size fixer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,650 ▲4416.27 ▲0.408.69 ▼1.4950.54 ▲4.16
Dashboard /wp-admin2,934 ▲845.89 ▲0.05138.52 ▲0.85105.06 ▲2.56
Posts /wp-admin/edit.php2,706 ▼02.69 ▲0.0065.20 ▲1.5893.16 ▼2.61
Add New Post /wp-admin/post-new.php1,653 ▼018.82 ▲0.00370.89 ▲11.42105.95 ▲1.91
Media Library /wp-admin/upload.php1,772 ▼05.00 ▲0.00151.67 ▲7.97105.61 ▼13.98

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

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
Good news, no errors were detected

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
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/the-wp-manager/wp-manager.php:16

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: file size 75mb, upload maximum file size, increase media upload file size, media upload, max upload file size...

the-wp-manager/wp-manager.php 85% from 13 tests

"WP Manager - One click Max Upload File Size fixer" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("the-wp-manager.php" instead of "wp-manager.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin7 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1197

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.00
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin