76% wp-blog-manager-lite

Code Review | Plugin to Manage / Design WordPress Blog - WP Blog Manager Lite

WordPress plugin Plugin to Manage / Design WordPress Blog - WP Blog Manager Lite scored 76% from 54 tests.

About plugin

  • Plugin page: wp-blog-manager-lite
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.9
  • WordPress version: 5.9.2
  • First release: Aug 30, 2017
  • Latest release: Feb 15, 2022
  • Number of updates: 34
  • Update frequency: every 47.9 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

500+ active / 11,239 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.33MB] [CPU: ▼292.40ms] Passed 4 tests

An overview of server-side resources used by Plugin to Manage / Design WordPress Blog - WP Blog Manager Lite
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.87 ▲0.3656.00 ▲7.87
Dashboard /wp-admin3.74 ▲0.3439.03 ▲6.02
Posts /wp-admin/edit.php3.97 ▲0.3343.93 ▲5.12
Add New Post /wp-admin/post-new.php7.24 ▲0.2794.50 ▼1,183.19
Media Library /wp-admin/upload.php3.67 ▲0.3826.89 ▲2.47
Add New /wp-admin/post-new.php?post_type=wpblogmanager4.0142.09
About Us /wp-admin/edit.php?post_type=wpblogmanager&page=wpbm-about-us3.6827.64
Documentation /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-documentation-wp3.4420.70
Check Premium Version /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-premium-wp3.4421.11
All WP Blog Manager /wp-admin/edit.php?post_type=wpblogmanager3.7439.38

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Plugin to Manage / Design WordPress Blog - WP Blog Manager Lite
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,240 ▲48617.81 ▲2.129.24 ▲3.792.25 ▼0.37
Dashboard /wp-admin3,183 ▲3298.65 ▲2.49151.26 ▲16.90148.15 ▼17.52
Posts /wp-admin/edit.php3,022 ▲3345.25 ▲2.0197.88 ▲31.41138.28 ▼4.42
Add New Post /wp-admin/post-new.php1,748 ▲8716.97 ▲0.98408.48 ▼12.29151.48 ▼2.64
Media Library /wp-admin/upload.php1,804 ▲1066.27 ▲0.75119.06 ▼23.81176.65 ▼9.96
Add New /wp-admin/post-new.php?post_type=wpblogmanager4,0266.59114.39161.51
About Us /wp-admin/edit.php?post_type=wpblogmanager&page=wpbm-about-us1,84212.18245.16182.25
Documentation /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-documentation-wp1,49010.49309.15207.34
Check Premium Version /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-premium-wp1,60511.39294.46167.64
All WP Blog Manager /wp-admin/edit.php?post_type=wpblogmanager1,7165.0587.00118.60

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/post-new.php?post_type=wpblogmanager
    • > Warning in wp-content/plugins/wp-blog-manager-lite/inc/admin/wpbm-blog-meta.php+41
    include(wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-filter.php): failed to open stream: No such file or directory
    • > GET request to /wp-admin/post-new.php?post_type=wpblogmanager
    • > Warning in wp-content/plugins/wp-blog-manager-lite/inc/admin/wpbm-blog-meta.php+41
    include(): Failed opening 'wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-filter.php' for inclusion (include_path='.:/usr/share/php')

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
The following issues need your attention
  • 20× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
    • > /wp-content/plugins/wp-blog-manager-lite/inc/frontend/content/wpbm-list.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/frontend/content/wpbm-grid.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/admin/wpbm-blog-meta.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/admin/filter/wpbm-taxonomy.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/frontend/wpbm-template.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-general.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/ajax/fetch-terms.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-usages.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/frontend/wpbm-frontend.php
    • > /wp-content/plugins/wp-blog-manager-lite/inc/frontend/content/wpbm-slider.php
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-upgrade-pro.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-blog-manager-lite/inc/wpbm-block/wpbm-block-init.php:20
    • > PHP Warning
      Use of undefined constant WPBM_IMG_DIR - assumed 'WPBM_IMG_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-blog-manager-lite/inc/admin/settings/wpbm-upgrade-pro.php on line 1

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
    • > GET request to /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-documentation-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/documentation/wp-blog-manager-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-premium-wp
    • > Network (severe)
    https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
    • > GET request to /wp-admin/edit.php?post_type=wpblogmanager&page=wcmc-premium-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/wordpress-plugins/wp-blog-manager/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: blog manager, wordpress blog manager, slider layout, blog design, taxonomies and terms filter blog...

wp-blog-manager-lite/wp-blog-manager-lite.php 92% from 13 tests

The principal PHP file in "Plugin to Manage / Design WordPress Blog - WP Blog Manager Lite" v. 1.1.3 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Domain Path: The domain path folder was not found ("/languages/")

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
Everything looks great! No dangerous files found in this plugin21,810 lines of code in 39 files:
LanguageFilesBlank linesComment linesLines of code
SVG40010,237
JavaScript59701,8224,194
CSS71261624,096
PHP232838653,283

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.76
Average class complexity94.00
▷ Minimum class complexity54.00
▷ Maximum class complexity134.00
Average method complexity3.62
▷ Minimum method complexity1.00
▷ Maximum method complexity77.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods71
▷ Static methods912.68%
▷ Public methods6997.18%
▷ Protected methods22.82%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants16
▷ Global constants743.75%
▷ Class constants956.25%
▷ Public constants9100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.71MB with 0.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/googleplus.png1.91KB0.99KB▼ 48.06%
images/customize.png24.05KB8.41KB▼ 65.05%
images/flicker.png1.45KB0.57KB▼ 60.47%
images/twitter.png1.74KB0.81KB▼ 53.33%
images/no-image-available.png14.23KB6.99KB▼ 50.89%