10% dl-uptocall

Code Review | DL UpToCall

WordPress plugin DL UpToCall scored10%from 54 tests.

About plugin

  • Plugin page: dl-uptocall
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-4.6
  • WordPress version: 6.3.1
  • First release: Sep 26, 2016
  • Latest release: Sep 27, 2016
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: dyadyalesha (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /977 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • Install procedure had errors
    • > Parse error in wp-content/plugins/dl-uptocall/dl-uptocall.php+159
    syntax error, unexpected end of file

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

Analyzing server-side resources used by DL UpToCall
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.58 ▼0.92
Dashboard /wp-admin3.31 ▲0.0049.75 ▼0.79
Posts /wp-admin/edit.php3.36 ▲0.0051.66 ▲1.32
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.07 ▼16.56
Media Library /wp-admin/upload.php3.23 ▲0.0039.93 ▲1.80

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for DL UpToCall
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.011.77 ▼0.4741.89 ▼2.24
Dashboard /wp-admin2,192 ▲125.55 ▼0.1090.57 ▲0.0940.21 ▼3.81
Posts /wp-admin/edit.php2,100 ▼32.01 ▼0.0141.41 ▲1.8536.77 ▲0.31
Add New Post /wp-admin/post-new.php1,526 ▼323.09 ▼0.18682.02 ▲1.7271.08 ▲22.42
Media Library /wp-admin/upload.php1,397 ▼04.21 ▲0.0398.52 ▼1.4443.31 ▲0.50

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
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/dl-uptocall/dl-uptocall.php on line 159
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/dl-uptocall/page-options.php on line 86
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dl-uptocall/page-calls.php:2

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 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Виджет на странице сайта), #2 (Страница настроек), #3 (Страница Список звонков)
You can take inspiration from this readme.txt

dl-uptocall/dl-uptocall.php Passed 13 tests

Analyzing the main PHP file in "DL UpToCall" version 1.1
110 characters long description:
Виджет UpToCall поймает клиентов, организуя звонок за 24 секунды!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected276 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP39712276

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.32
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png65.82KB23.15KB▼ 64.83%
screenshot-3.png84.14KB31.63KB▼ 62.41%
screenshot-1.png44.76KB17.64KB▼ 60.59%