Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼13.11ms] Passed 4 tests
This is a short check of server-side resources used by WordPress.com Editing Toolkit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 36.52 ▼4.56 |
Dashboard /wp-admin | 3.46 ▲0.16 | 46.69 ▼6.22 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 49.19 ▲3.53 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 60.23 ▼38.34 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 31.55 ▼3.33 |
Server storage [IO: ▲12.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 437 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
recovery_mode_email_last_sent |
widget_wpcom-mailerlite |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress.com Editing Toolkit: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.20 ▼0.20 | 1.61 ▼0.23 | 36.67 ▼6.13 |
Dashboard /wp-admin | 2,196 ▲18 | 5.56 ▼0.16 | 98.35 ▼15.76 | 43.86 ▼1.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▲0.02 | 40.77 ▲3.35 | 37.59 ▲2.53 |
Add New Post /wp-admin/post-new.php | 45 ▼1,481 | 0.41 ▼22.63 | 0.08 ▼672.62 | 8.53 ▼52.32 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.16 ▼0.07 | 113.67 ▲13.71 | 73.38 ▲29.59 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- theysaidso_admin_options
- widget_wpcom-mailerlite
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 67× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function A8C\\FSE\\add_action() in wp-content/plugins/full-site-editing/wpcom-documentation-links/class-wpcom-documentation-links.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function Automattic\\Jetpack\\Global_Styles\\add_action() in wp-content/plugins/full-site-editing/global-styles/class-global-styles.php:621
- > PHP Fatal error
Uncaught Error: Call to undefined function A8C\\FSE\\add_action() in wp-content/plugins/full-site-editing/wpcom-block-editor-nav-sidebar/class-wpcom-block-editor-nav-sidebar.php:100
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/full-site-editing/help-center/class-wp-rest-help-center-forum.php:15
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/full-site-editing/phpunit/class-is-fse-active-test.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/full-site-editing/help-center/class-wp-rest-help-center-search.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function A8C\\FSE\\register_activation_hook() in wp-content/plugins/full-site-editing/dotcom-fse/helpers.php:193
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/full-site-editing/wpcom-block-editor-nux/class-wp-rest-wpcom-block-editor-first-post-published-modal-controller.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function A8C\\FSE\\register_activation_hook() in wp-content/plugins/full-site-editing/dotcom-fse/helpers.php:193
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/full-site-editing/help-center/class-wp-rest-help-center-ticket.php:15
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: editor, block, page, gutenberg, blocks
full-site-editing/full-site-editing-plugin.php 92% from 13 tests
The main PHP file in "WordPress.com Editing Toolkit" ver. 4.3633 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("full-site-editing.php" instead of "full-site-editing-plugin.php")
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
No dangerous file extensions were detected172,936 lines of code in 424 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 149 | 28,867 | 29,403 | 157,061 |
PHP | 108 | 1,492 | 3,830 | 7,968 |
TypeScript | 46 | 362 | 198 | 3,198 |
Sass | 42 | 450 | 59 | 3,006 |
Markdown | 10 | 239 | 0 | 634 |
SVG | 18 | 3 | 7 | 362 |
JSX | 5 | 38 | 28 | 335 |
JSON | 3 | 0 | 0 | 216 |
CSS | 42 | 3 | 8 | 127 |
XML | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 167.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 53 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 333 | |
▷ Static methods | 71 | 21.32% |
▷ Public methods | 300 | 90.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 33 | 9.91% |
Functions | 146 | |
▷ Named functions | 110 | 75.34% |
▷ Anonymous functions | 36 | 24.66% |
Constants | 13 | |
▷ Global constants | 5 | 38.46% |
▷ Class constants | 8 | 61.54% |
▷ Public constants | 8 | 100.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
PNG images were not found in this plugin