90% fse-classic

Code Review | Site Editor Classic Features

WordPress plugin Site Editor Classic Features scored90%from 54 tests.

About plugin

  • Plugin page: fse-classic
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.1
  • WordPress version: 6.3.1
  • First release: Dec 21, 2022
  • Latest release: Dec 21, 2022
  • Number of updates: 2
  • Update frequency: every 6.5 days
  • Top authors: hugod (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /1,325 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.91ms] Passed 4 tests

This is a short check of server-side resources used by Site Editor Classic Features
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0739.60 ▼7.78
Dashboard /wp-admin3.37 ▲0.0748.35 ▼8.68
Posts /wp-admin/edit.php3.49 ▲0.1348.86 ▼2.88
Add New Post /wp-admin/post-new.php5.95 ▲0.0793.08 ▲0.87
Media Library /wp-admin/upload.php3.30 ▲0.0735.27 ▼0.30

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Site Editor Classic Features
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.65 ▼0.661.97 ▼0.2542.54 ▼2.63
Dashboard /wp-admin2,209 ▲215.86 ▲0.96101.23 ▼21.5641.12 ▼0.55
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0141.73 ▲3.8135.89 ▲1.17
Add New Post /wp-admin/post-new.php1,514 ▼1917.75 ▼5.40637.73 ▼33.3558.61 ▲4.80
Media Library /wp-admin/upload.php1,388 ▲34.21 ▼0.0295.49 ▼3.1842.31 ▲0.62

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: block, fse, menu, widget, site editor

fse-classic/fse-classic.php Passed 13 tests

The main file in "Site Editor Classic Features" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
Allows to use classic widgets and menus in Site Editor.

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
Everything looks great! No dangerous files found in this plugin702 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP12157416665
CSS25032
JSON1005

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity21.20
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity3.02
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes120.00%
Methods51
▷ Static methods1835.29%
▷ Public methods4792.16%
▷ Protected methods00.00%
▷ Private methods47.84%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants2
▷ 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
PNG images were not found in this plugin