83% queensberry-workspace-blog-interface

Code Review | Queensberry Workspace Blog Interface

WordPress plugin Queensberry Workspace Blog Interface scored83%from 54 tests.

About plugin

  • Plugin page: queensberry-works...
  • Plugin version: 1.05
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.2-3.5.2
  • WordPress version: 6.3.1
  • First release: Jul 20, 2013
  • Latest release: Aug 29, 2013
  • Number of updates: 7
  • Update frequency: every 5.7 days
  • Top authors: stephenbaugh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

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

Server-side resources used by Queensberry Workspace Blog Interface
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.33 ▲1.04
Dashboard /wp-admin3.31 ▲0.0145.72 ▼1.87
Posts /wp-admin/edit.php3.36 ▲0.0141.67 ▼2.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0182.54 ▼20.83
Media Library /wp-admin/upload.php3.24 ▲0.0135.19 ▼0.82

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

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

Browser metrics Passed 4 tests

Queensberry Workspace Blog Interface: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.24 ▼1.131.70 ▼0.0142.16 ▼4.24
Dashboard /wp-admin2,209 ▲215.80 ▲0.91102.80 ▼7.1944.76 ▼2.88
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0137.32 ▼0.3533.71 ▼3.21
Add New Post /wp-admin/post-new.php1,546 ▲2718.28 ▼4.99613.19 ▼67.7965.67 ▲8.15
Media Library /wp-admin/upload.php1,388 ▲34.19 ▼0.0095.25 ▼11.7342.24 ▼3.02

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 were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/queensberry-workspace-blog-interface/qby_workspace_blog_interface.php:46

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Screenshots: These screenshots do not have images: #1 (This is [Queensberry Workspace](http://workspace.queensberry.com)), #2 (This is an example of how you setup your blog post), #3 (This is an example of a slide show displayed), #4 (This is an example of a story board displayed)
You can take inspiration from this readme.txt

queensberry-workspace-blog-interface/qby_workspace_blog_interface.php 85% from 13 tests

The principal PHP file in "Queensberry Workspace Blog Interface" v. 1.05 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("queensberry-workspace-blog-interface.php" instead of "qby_workspace_blog_interface.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 376 characters long)

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
Success! There were no dangerous files found in this plugin43 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1413043

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin