78% live-center-live-blogging-solution

Code Review | Live Center - Live-Blogging Solution

WordPress plugin Live Center - Live-Blogging Solution scored78%from 54 tests.

About plugin

  • Plugin page: live-center-live-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.2.3
  • WordPress version: 6.3.1
  • First release: Oct 7, 2019
  • Latest release: Sep 17, 2023
  • Number of updates: 36
  • Update frequency: every 40.5 days
  • Top authors: norkoncs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,280 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.91ms] Passed 4 tests

A check of server-side resources used by Live Center - Live-Blogging Solution
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.0341.54 ▼0.66
Dashboard /wp-admin3.60 ▲0.0447.89 ▼4.56
Posts /wp-admin/edit.php3.72 ▲0.0452.88 ▼2.44
Add New Post /wp-admin/post-new.php6.20 ▲0.0594.10 ▼15.96
Media Library /wp-admin/upload.php3.53 ▲0.0442.20 ▲5.38
Live Center Plugin /wp-admin/admin.php?page=live-center-plugin3.4935.29
Edit API Key /wp-admin/admin.php?page=edit-api-key3.4936.68

Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Live Center - Live-Blogging Solution
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲5114.37 ▼0.041.80 ▼0.2939.83 ▲0.18
Dashboard /wp-admin2,221 ▲445.61 ▼0.0191.98 ▲2.4938.78 ▼0.86
Posts /wp-admin/edit.php2,123 ▲232.05 ▲0.0640.33 ▲0.4836.80 ▼2.59
Add New Post /wp-admin/post-new.php6,363 ▲4,83225.97 ▲2.82977.98 ▲322.7940.70 ▼20.44
Media Library /wp-admin/upload.php1,423 ▲294.22 ▼0.0199.67 ▼2.1545.81 ▲0.94
Live Center Plugin /wp-admin/admin.php?page=live-center-plugin8072.2225.1423.88
Edit API Key /wp-admin/admin.php?page=edit-api-key7972.0324.0125.09

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/live-center-live-blogging-solution/index.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
    • > GET request to /wp-admin/admin.php?page=live-center-plugin
    • > Other (severe) in unknown
    chrome-error://chromewebdata/ - Refused to display 'https://livecenter.norkon.net/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention: The official readme.txt is a good inspiration

live-center-live-blogging-solution/index.php 85% from 13 tests

"Live Center - Live-Blogging Solution" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 249 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("live-center-live-blogging-solution.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected716 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
SVG808312
PHP14811225
CSS1200140
JavaScript20039

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.12
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin