72% quickpop-popup-builder

Code Review | QuickPop - Responsive Popup Builder for WordPress

WordPress plugin QuickPop - Responsive Popup Builder for WordPress scored72%from 54 tests.

About plugin

  • Plugin page: quickpop-popup-bu...
  • Plugin version: 1.0
  • PHP compatiblity: 5.3.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-5.5
  • WordPress version: 6.3.1
  • First release: Sep 25, 2020
  • Latest release: Oct 27, 2020
  • Number of updates: 6
  • Update frequency: every 11.5 days
  • Top authors: mybrindle (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /1,440 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.42MB] [CPU: ▼7.91ms] Passed 4 tests

Server-side resources used by QuickPop - Responsive Popup Builder for WordPress
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.93 ▲0.4739.35 ▼0.57
Dashboard /wp-admin3.78 ▲0.4357.13 ▼9.25
Posts /wp-admin/edit.php3.83 ▲0.4755.21 ▲3.99
Add New Post /wp-admin/post-new.php6.30 ▲0.4290.87 ▼24.81
Media Library /wp-admin/upload.php3.62 ▲0.3940.24 ▲3.00
QuickPop /wp-admin/post-new.php?post_type=qp_popup3.9263.95
Submissions /wp-admin/edit.php?post_type=qp_submissions3.7545.20

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 459 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for QuickPop - Responsive Popup Builder for WordPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,205 ▲44418.65 ▲4.266.56 ▲4.8639.66 ▼1.12
Dashboard /wp-admin2,484 ▲3108.97 ▲3.29171.54 ▲82.0780.06 ▲35.59
Posts /wp-admin/edit.php2,424 ▲3246.19 ▲4.1484.56 ▲43.9877.06 ▲41.52
Add New Post /wp-admin/post-new.php1,869 ▲32922.49 ▼0.73718.05 ▲48.8738.22 ▼24.56
Media Library /wp-admin/upload.php1,567 ▲1676.67 ▲2.45109.09 ▲2.6695.06 ▲48.53
My Brindle /wp-admin/my-brindle.php260.440.0818.10
QuickPop /wp-admin/post-new.php?post_type=qp_popup3,03013.03373.77170.16
Submissions /wp-admin/edit.php?post_type=qp_submissions1,3976.0970.7178.12

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 25% 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)
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
  • 119× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/Oembed_Field.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/Gravity_Form_Field.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/Association_Field.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/File_Field.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Container/Term_Meta_Container.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Datastore/Widget_Datastore.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Container/Widget_Container.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Type_Condition.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/quickpop-popup-builder/vendor/htmlburger/carbon-fields/core/Field/Textarea_Field.php:8

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/my-brindle.php
    • > Network (severe)
    wp-admin/my-brindle.php - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/edit.php?post_type=qp_submissions
    • > Intervention (severe) in unknown
    /wp-admin/post-new.php?post_type=qp_popup - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Donate link: Invalid URI ("")
The official readme.txt might help

quickpop-popup-builder/quickpop.php 85% from 13 tests

This is the main PHP file of "QuickPop - Responsive Popup Builder for WordPress" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quickpop-popup-builder.php" instead of "quickpop.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected27,775 lines of code in 408 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1735,2218,44413,039
PHP1502,5426,5189,101
CSS93751,1551,807
Sass4833401,746
PO File206107791,652
JSON400360
Markdown424070

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity8.21
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity2.03
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces22
Interfaces5
Traits0
Classes121
▷ Abstract classes119.09%
▷ Concrete classes11090.91%
▷ Final classes10.91%
Methods890
▷ Static methods9010.11%
▷ Public methods72181.01%
▷ Protected methods16518.54%
▷ Private methods40.45%
Functions114
▷ Named functions3328.95%
▷ Anonymous functions8171.05%
Constants30
▷ Global constants723.33%
▷ Class constants2376.67%
▷ Public constants23100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/ico-trash.png1.37KB0.60KB▼ 55.94%
images/wp-icon.png1.87KB0.52KB▼ 72.33%
images/quickpop-logo.png3.39KB1.30KB▼ 61.49%
images/qp-upsell-sidebar.png22.84KB8.91KB▼ 60.99%
images/menu-icon.png1.59KB0.93KB▼ 41.81%