Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼30.99ms] Passed 4 tests
Analyzing server-side resources used by Default Classic Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.27 ▼4.04 |
Dashboard /wp-admin | 3.15 ▼0.16 | 24.58 ▼25.85 |
Posts /wp-admin/edit.php | 3.15 ▼0.21 | 27.80 ▼19.14 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.74 | 27.03 ▼70.23 |
Media Library /wp-admin/upload.php | 3.15 ▼0.08 | 25.55 ▼8.73 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Default Classic Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.64 ▼0.73 | 1.74 ▲0.12 | 45.46 ▲3.20 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▲0.94 | 95.39 ▼20.58 | 37.48 ▼9.57 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 39.82 ▲4.82 | 33.82 ▲2.61 |
Add New Post /wp-admin/post-new.php | 3,094 ▲1,559 | 7.68 ▼15.34 | 188.96 ▼489.38 | 70.43 ▲17.59 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.00 | 93.65 ▼6.73 | 41.40 ▼4.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function add_option_whitelist is deprecated since version 5.5.0! Use add_allowed_options() instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/default-classic-editor/default-classic-editor.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin settings on the Settings -> Writing screen.), #2 (User settings on the Profile screen. Visible when the users are allowed to switch editors.), #3 ("Action links" to choose alternative editor. Visible when the users are allowed to switch editors.), #4 (Link to switch to the Block Editor while editing a post in the Default Classic Editor. Visible when the users are allowed to switch editors.), #5 (Link to switch to the Default Classic Editor while editing a post in the Block Editor. Visible when the users are allowed to switch editors.), #6 (Network settings to select the default editor for the network and allow site admins to change it.), #7 (The "Switch to Default Classic Editor" link.)
default-classic-editor/default-classic-editor.php 85% from 13 tests
The main PHP file in "Default Classic Editor" ver. 0.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin956 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 155 | 171 | 615 |
Markdown | 1 | 80 | 0 | 320 |
JavaScript | 1 | 2 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 129.00 |
▷ Minimum class complexity | 129.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 35 | 97.22% |
▷ Public methods | 27 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 4.64KB | 4.00KB | ▼ 13.76% |
screenshot-1.png | 29.23KB | 18.38KB | ▼ 37.13% |
screenshot-5.png | 3.09KB | 2.61KB | ▼ 15.50% |
screenshot-7.png | 36.65KB | 19.91KB | ▼ 45.67% |
screenshot-2.png | 23.93KB | 15.68KB | ▼ 34.44% |