10% daddy-plus

Code Review | Daddy Plus

WordPress plugin Daddy Plus scored10%from 54 tests.

About plugin

  • Plugin page: daddy-plus
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Aug 8, 2023
  • Latest release: Oct 22, 2023
  • Number of updates: 5
  • Update frequency: every 18.4 days
  • Top authors: themesdaddy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,275 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • This plugin did not install gracefully
    • > User deprecated in wp-includes/functions.php+5453
    Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.

Server metrics [RAM: ▲0.01MB] [CPU: ▼12.49ms] Passed 4 tests

This is a short check of server-side resources used by Daddy Plus
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0430.38 ▼12.96
Dashboard /wp-admin3.33 ▼0.0244.71 ▼16.03
Posts /wp-admin/edit.php3.38 ▲0.0245.24 ▼3.87
Add New Post /wp-admin/post-new.php5.91 ▲0.0279.57 ▼17.10
Media Library /wp-admin/upload.php3.25 ▲0.0235.69 ▼0.42

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Daddy Plus
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,735 ▼5114.53 ▲0.181.94 ▲0.018.40 ▼33.04
Dashboard /wp-admin2,198 ▲215.66 ▼0.1079.39 ▼19.3738.40 ▼4.42
Posts /wp-admin/edit.php2,112 ▲121.96 ▲0.0133.85 ▼0.7531.57 ▼6.38
Add New Post /wp-admin/post-new.php1,526 ▼023.59 ▼0.08654.99 ▼17.2165.06 ▲4.26
Media Library /wp-admin/upload.php1,403 ▲64.23 ▼0.0391.95 ▼8.4439.68 ▼5.88

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • fresh_website_activate
    • widget_recent-comments
    • widget_recent-posts
    • 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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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 fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/daddy-plus/inc/flixicart/frontpage/daddy-plus-index-product.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: admin, template, companion, homepage, featured...

daddy-plus/daddy-plus.php Passed 13 tests

This is the main PHP file of "Daddy Plus" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
70 characters long description:
Daddy Plus plugin provides Daddy themes extra settings for front page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,048 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity4.00
▷ Minimum class complexity3.00
▷ Maximum class complexity5.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods133.33%
▷ Public methods133.33%
▷ Protected methods266.67%
▷ Private methods00.00%
▷ Named functions32100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.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
2 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
inc/flixita/images/call-action-bg.png75.74KB74.02KB▼ 2.28%
inc/flixita/images/call-action.png124.64KB42.49KB▼ 65.91%