84% increase-upload-limit

Code Review | Increase Upload Limit

WordPress plugin Increase Upload Limit scored84%from 54 tests.

About plugin

  • Plugin page: increase-upload-l...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.8
  • WordPress version: 6.3.1
  • First release: Aug 31, 2021
  • Latest release: Aug 31, 2021
  • Number of updates: 3
  • Update frequency: every 232.3 days
  • Top authors: pavankumarsadhu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,488 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.92ms] Passed 4 tests

Server-side resources used by Increase Upload Limit
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0141.88 ▲0.07
Dashboard /wp-admin3.33 ▲0.0244.71 ▼3.82
Posts /wp-admin/edit.php3.38 ▲0.0246.06 ▼2.77
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.95 ▼13.16
Media Library /wp-admin/upload.php3.25 ▲0.0235.54 ▲0.23

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Increase Upload Limit
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲7713.29 ▼1.331.64 ▼0.5538.57 ▼9.19
Dashboard /wp-admin2,221 ▲294.87 ▼1.05104.13 ▲1.4441.42 ▼2.49
Posts /wp-admin/edit.php2,104 ▲122.11 ▲0.1238.24 ▼3.2933.63 ▼3.27
Add New Post /wp-admin/post-new.php1,523 ▲417.46 ▼5.68582.64 ▼31.3947.33 ▼13.22
Media Library /wp-admin/upload.php1,400 ▲154.21 ▲0.0296.41 ▼0.3142.60 ▲0.22

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/increase-upload-limit/increase-upload-limit.php:75

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Admin Panel for maximum upload file size.) image required
You can look at the official readme.txt

increase-upload-limit/increase-upload-limit.php Passed 13 tests

This is the main PHP file of "Increase Upload Limit" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
89 characters long description:
This Plugin lets you to increase the upload limit of Wordpress for LIFETIME FREE of Cost.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin81 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1441881

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions6
▷ Named functions6100.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
No PNG images were found in this plugin