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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.19ms] Passed 4 tests
Server-side resources used by Cornell Notes Gutenberg Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.55 ▼1.66 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.34 ▼4.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.30 ▼3.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.72 ▲3.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.98 ▲1.54 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Cornell Notes Gutenberg Block
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲5 | 14.32 ▼0.06 | 2.39 ▲0.23 | 42.58 ▼5.22 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▼0.01 | 89.50 ▼8.15 | 43.39 ▼1.17 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.03 | 40.77 ▲3.89 | 37.69 ▲0.24 |
Add New Post /wp-admin/post-new.php | 6,209 ▲4,683 | 21.57 ▼1.49 | 856.80 ▲169.30 | 67.89 ▲14.84 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.26 ▲0.03 | 104.12 ▼3.04 | 47.01 ▲0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: gutenberg, study-aid, note taking, notes, block...
cornell-notes/plugin.php 85% from 13 tests
This is the main PHP file of "Cornell Notes Gutenberg Block" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 168 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cornell-notes.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin7,703 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,373 |
JavaScript | 9 | 14 | 22 | 115 |
Sass | 2 | 25 | 3 | 99 |
Markdown | 1 | 24 | 0 | 76 |
PHP | 2 | 8 | 57 | 39 |
CSS | 2 | 0 | 12 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin