Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼142.12ms] Passed 4 tests
A check of server-side resources used by VS Light Theme for the Foxdell Folio Block Editor Customiser
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 42.57 ▲21.40 |
Dashboard /wp-admin | 3.06 ▲0.01 | 54.06 ▲7.45 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 48.40 ▼10.10 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 99.55 ▼563.97 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 35.40 ▼1.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for VS Light Theme for the Foxdell Folio Block Editor Customiser
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲133 | 15.81 ▲0.24 | 9.28 ▼1.92 | 49.48 ▼4.93 |
Dashboard /wp-admin | 2,970 ▲36 | 5.91 ▼0.06 | 153.97 ▲0.95 | 123.27 ▼13.24 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.00 | 68.87 ▼6.12 | 101.23 ▲4.43 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.66 ▼0.13 | 411.86 ▼4.55 | 116.31 ▼2.93 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.06 ▲0.01 | 159.46 ▼1.04 | 132.05 ▲2.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/foxdell-folio-bec-vs-light-theme/fofo-bec-vs-light-theme.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: gutenberg, customize, block-editor
foxdell-folio-bec-vs-light-theme/fofo-bec-vs-light-theme.php 85% from 13 tests
Analyzing the main PHP file in "VS Light Theme for the Foxdell Folio Block Editor Customiser" version 1.1.0
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("foxdell-folio-bec-vs-light-theme.php" instead of "fofo-bec-vs-light-theme.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 detected112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 13 | 0 | 58 |
PHP | 1 | 22 | 28 | 54 |
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.07 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin