10% quup-vcard-widget

Code Review | quup vCard Widget

WordPress plugin quup vCard Widget scored10%from 54 tests.

About plugin

  • Plugin page: quup-vcard-widget
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.1
  • WordPress version: 6.3.1
  • First release: Apr 29, 2013
  • Latest release: Apr 30, 2013
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: apostylee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /841 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/quup-vcard-widget/quup-vcard-widget.php+16
    Methods with the same name as their class will not be constructors in a future version of PHP; Quup_vcard_widget has a deprecated constructor

Server metrics [RAM: ▼1.91MB] [CPU: ▼63.23ms] Passed 4 tests

Server-side resources used by quup vCard Widget
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.08 ▼1.394.77 ▼41.85
Dashboard /wp-admin2.10 ▼1.216.04 ▼52.51
Posts /wp-admin/edit.php2.10 ▼1.267.56 ▼51.45
Add New Post /wp-admin/post-new.php2.10 ▼3.796.40 ▼107.11
Media Library /wp-admin/upload.php2.10 ▼1.137.38 ▼27.64

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
widget_quup-widget
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for quup vCard Widget
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.73 ▲0.321.94 ▲0.2341.76 ▼0.84
Dashboard /wp-admin2,192 ▲125.63 ▼0.1287.94 ▲0.5340.06 ▼1.58
Posts /wp-admin/edit.php2,100 ▼02.03 ▼0.0040.27 ▲3.3436.11 ▼0.58
Add New Post /wp-admin/post-new.php1,545 ▼1023.27 ▲4.89611.91 ▲14.3343.67 ▼13.45
Media Library /wp-admin/upload.php1,397 ▼04.22 ▼0.00101.42 ▼3.9645.46 ▼0.82

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/quup-vcard-widget/quup-vcard-widget.php+16
    Methods with the same name as their class will not be constructors in a future version of PHP; Quup_vcard_widget has a deprecated constructor
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_quup-widget

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Stable tag: Empty string
Please take inspiration from this readme.txt

quup-vcard-widget/quup-vcard-widget.php Passed 13 tests

The main PHP script in "quup vCard Widget" version 1.0 is automatically included on every request by WordPress
72 characters long description:
quup.com Profilinizin özetini şık bir şekilde göstermenizi sağlar.

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 detected57 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP121757

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.40
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin