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.03MB] [CPU: ▼277.63ms] Passed 4 tests
Server-side resources used by Easy Post Note
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 35.03 ▲14.21 |
Dashboard /wp-admin | 3.09 ▲0.03 | 42.52 ▼32.17 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 42.08 ▼13.21 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 91.98 ▼1,058.82 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 35.02 ▼6.32 |
Easy Post Note /wp-admin/options-general.php?page=easy-post-note-settings | 3.00 | 28.43 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Post Note
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,660 ▲54 | 15.93 ▲0.45 | 7.86 ▼0.88 | 51.69 ▲5.97 |
Dashboard /wp-admin | 2,938 ▲88 | 5.92 ▲0.11 | 134.50 ▼3.59 | 105.33 ▲3.83 |
Posts /wp-admin/edit.php | 2,727 ▲24 | 2.68 ▼0.00 | 64.62 ▼11.89 | 87.49 ▼12.85 |
Add New Post /wp-admin/post-new.php | 1,684 ▲33 | 18.95 ▲1.77 | 370.58 ▲25.05 | 103.30 ▼9.61 |
Media Library /wp-admin/upload.php | 1,786 ▲11 | 5.02 ▲0.02 | 152.98 ▲10.44 | 106.16 ▼6.79 |
Easy Post Note /wp-admin/options-general.php?page=easy-post-note-settings | 1,035 | 2.09 | 55.41 | 65.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-post-note/plugin-options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-post-note/plugin-options.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 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
2 plugin tags: post, note
easy-post-note/easy-post-note.php Passed 13 tests
"Easy Post Note" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
30 characters long description:
Lets you add a note to a post.
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
Success! There were no dangerous files found in this plugin152 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 97 | 60 | 142 |
CSS | 1 | 5 | 0 | 5 |
Markdown | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
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 | 9 | |
▷ Named functions | 9 | 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 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin