89% download-panel

Code Review | Download Panel (Biggiko Team)

WordPress plugin Download Panel (Biggiko Team) scored89%from 54 tests.

About plugin

  • Plugin page: download-panel
  • Plugin version: 1.3.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jul 15, 2020
  • Latest release: Jul 29, 2020
  • Number of updates: 15
  • Update frequency: every 0.9 days
  • Top authors: arkadiykilesso (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /464 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

This is a short check of server-side resources used by Download Panel (Biggiko Team)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0444.90 ▲1.53
Dashboard /wp-admin3.34 ▼0.0147.44 ▼19.29
Posts /wp-admin/edit.php3.39 ▲0.0351.85 ▲2.10
Add New Post /wp-admin/post-new.php5.92 ▲0.0395.87 ▲2.60
Media Library /wp-admin/upload.php3.26 ▲0.0341.24 ▲3.27

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

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

Browser metrics Passed 4 tests

Download Panel (Biggiko Team): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲10713.32 ▼1.061.92 ▲0.1744.40 ▲3.77
Dashboard /wp-admin2,233 ▲454.96 ▲0.06101.67 ▼7.8382.80 ▲38.32
Posts /wp-admin/edit.php2,116 ▲272.24 ▲0.2736.51 ▲0.1234.31 ▼2.80
Add New Post /wp-admin/post-new.php1,689 ▲15622.37 ▼0.71660.97 ▼50.7629.47 ▼31.05
Media Library /wp-admin/upload.php1,406 ▲214.45 ▲0.25100.97 ▼1.6981.00 ▲37.85

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 75% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Requires at least: Version not formatted correctly
  • Screenshots: Please add an image for screenshot #1 (Общий вид плагина)
  • Tested up to: Version not formatted correctly
  • Donate link: Invalid url: "none"
You can take inspiration from this readme.txt

download-panel/plugin.php 92% from 13 tests

The entry point to "Download Panel (Biggiko Team)" version 1.3.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("download-panel.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected575 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP2219254
CSS3280175
JavaScript3220146

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
2 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icon.png0.96KB0.68KB▼ 28.98%
assets/Screenshot-1.png175.76KB38.80KB▼ 77.92%