Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.94ms] Passed 4 tests
Server-side resources used by Editors note.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.46 ▲1.30 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.56 ▼5.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.35 ▼4.71 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 101.56 ▼7.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.39 ▲2.43 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Editors note.
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.68 ▼0.68 | 4.51 ▲2.63 | 44.34 ▼0.81 |
Dashboard /wp-admin | 2,203 ▲15 | 5.82 ▲0.93 | 96.41 ▼5.89 | 40.20 ▼5.12 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.02 | 34.46 ▼5.33 | 32.79 ▼2.45 |
Add New Post /wp-admin/post-new.php | 6,415 ▲4,882 | 28.32 ▲4.88 | 909.57 ▲303.33 | 57.33 ▲3.67 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▲0.02 | 95.00 ▼10.38 | 39.79 ▼7.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function HAMWORKS\\WP\\Editors_Note\\add_action() in wp-content/plugins/editors-note/editors-note.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: gutenberg, block, term
editors-note/editors-note.php 92% from 13 tests
The main PHP file in "Editors note." ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected18,671 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 18,441 |
JavaScript | 4 | 13 | 9 | 126 |
PHP | 2 | 3 | 12 | 49 |
XML | 1 | 4 | 7 | 25 |
Markdown | 1 | 6 | 0 | 16 |
CSS | 2 | 1 | 0 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
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 | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin