77% full-page-blog-designer

Code Review | Full Page Blog Designer

WordPress plugin Full Page Blog Designer scored 77% from 54 tests.

About plugin

  • Plugin page: full-page-blog-de...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5
  • WordPress version: 5.9.2
  • First release: Nov 3, 2020
  • Latest release: Nov 15, 2020
  • Number of updates: 8
  • Update frequency: every 1.5 days
  • Top authors: codeies (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 253 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.49MB] [CPU: ▼375.62ms] Passed 4 tests

This is a short check of server-side resources used by Full Page Blog Designer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.07 ▲0.9556.14 ▲32.36
Dashboard /wp-admin3.95 ▲0.5543.64 ▲8.91
Posts /wp-admin/edit.php4.19 ▲0.5550.34 ▲12.28
Add New Post /wp-admin/post-new.php7.40 ▲0.4399.47 ▼1,525.74
Media Library /wp-admin/upload.php3.72 ▲0.4327.99 ▲2.09
Full Page Blog Designer /wp-admin/admin.php?page=full-page-blog-designer4.1132.54
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius4.0929.59

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 208 new files
Database: no new tables, 4 new options
New WordPress options
fs_active_plugins
fs_debug_mode
fs_accounts
fs_gdpr

Browser metrics Passed 4 tests

Full Page Blog Designer: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,041 ▲28717.46 ▲1.786.60 ▲0.562.80 ▼0.07
Dashboard /wp-admin3,138 ▲2778.37 ▲2.18150.11 ▲11.57173.66 ▲12.01
Posts /wp-admin/edit.php3,226 ▲5356.41 ▲3.1794.34 ▲18.33157.41 ▲6.52
Add New Post /wp-admin/post-new.php2,264 ▲60319.56 ▲2.98451.16 ▲28.01293.71 ▲113.73
Media Library /wp-admin/upload.php1,762 ▲646.03 ▲0.53114.11 ▼48.80257.19 ▲57.71
Full Page Blog Designer /wp-admin/admin.php?page=full-page-blog-designer1,6014.9071.20174.67
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius1,7124.8672.21112.61

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
  • Zombie WordPress options detected upon uninstall: 4 options
    • fs_debug_mode
    • fs_accounts
    • fs_gdpr
    • fs_active_plugins

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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
The following issues need your attention
  • 3× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/full-page-blog-designer/admin/partials/codeies_fpbd-admin-display.php
    • > /wp-content/plugins/full-page-blog-designer/public/partials/codeies_fpbd-public-display.php
    • > /wp-content/plugins/full-page-blog-designer/freemius/templates/ajax-loader.php
  • 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Ap_custom_Metabox' not found in wp-content/plugins/full-page-blog-designer/includes/backup-postmeta.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_footer() in wp-content/plugins/full-page-blog-designer/templates/footer.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/full-page-blog-designer/includes/class-codeies_fpdb_templateload.php:2
    • > PHP Notice
      Undefined variable: VARS in wp-content/plugins/full-page-blog-designer/freemius/templates/account/partials/addon.php on line 6
    • > PHP Notice
      Undefined variable: VARS in wp-content/plugins/full-page-blog-designer/freemius/templates/account/partials/addon.php on line 7
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/full-page-blog-designer/freemius/templates/account/partials/addon.php on line 8
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/full-page-blog-designer/freemius/templates/account/partials/addon.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/full-page-blog-designer/templates/header.php:2
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/full-page-blog-designer/freemius/templates/account/partials/addon.php on line 7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function freemius() in wp-content/plugins/full-page-blog-designer/freemius/templates/partials/network-activation.php:6

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

readme.txt 88% 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
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Youtube Embed.), #2 (Image Background), #3 (Color Background)
  • Donate link: Invalid url: ""
Please take inspiration from this readme.txt

full-page-blog-designer/full-page-blog-designer.php 85% from 13 tests

Analyzing the main PHP file in "Full Page Blog Designer" version 1.0.2
Please take the time to fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.0")
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin34,283 lines of code in 158 files:
LanguageFilesBlank linesComment linesLines of code
PHP1267,60916,92531,262
JavaScript127991,2792,423
CSS163822350
Markdown1680214
JSON10027
SVG2017

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
Please fix the following
  • Class cyclomatic complexity should be reduced to less than 1000 (currently 2,895)
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity75.05
▷ Minimum class complexity1.00
▷ Maximum class complexity2,895.00
Average method complexity4.54
▷ Minimum method complexity1.00
▷ Maximum method complexity86.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes55
▷ Abstract classes23.64%
▷ Concrete classes5396.36%
▷ Final classes00.00%
Methods1,182
▷ Static methods17514.81%
▷ Public methods83570.64%
▷ Protected methods151.27%
▷ Private methods33228.09%
Functions102
▷ Named functions10199.02%
▷ Anonymous functions10.98%
Constants126
▷ Global constants10180.16%
▷ Class constants2519.84%
▷ Public constants25100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
public/images/l-arrow.png2.18KB0.80KB▼ 63.53%
public/images/r-arrow.png2.17KB0.69KB▼ 68.30%