Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼153.75ms] Passed 4 tests
A check of server-side resources used by Simple Admin Notes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.07 | 33.92 ▼11.11 |
Dashboard /wp-admin | 3.13 ▲0.08 | 49.07 ▼38.79 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 48.73 ▲12.53 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 82.45 ▼563.47 |
Media Library /wp-admin/upload.php | 3.08 ▲0.07 | 34.59 ▼1.64 |
Edit Notes /wp-admin/edit.php?post_type=note | 3.12 | 33.50 |
New Note /wp-admin/post-new.php?post_type=note | 3.19 | 49.73 |
My Notes /wp-admin/edit.php?post_type=note&page=my_notes | 3.06 | 30.09 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Admin Notes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,754 ▲182 | 15.99 ▲0.31 | 8.96 ▼1.42 | 49.01 ▲0.65 |
Dashboard /wp-admin | 3,014 ▲80 | 6.04 ▼0.10 | 140.19 ▼26.91 | 108.58 ▼12.60 |
Posts /wp-admin/edit.php | 2,786 ▲47 | 2.88 ▲0.16 | 66.84 ▼3.23 | 87.41 ▼16.35 |
Add New Post /wp-admin/post-new.php | 1,532 ▼72 | 18.42 ▼0.39 | 377.12 ▼35.92 | 111.89 ▲8.93 |
Media Library /wp-admin/upload.php | 1,780 ▼30 | 5.06 ▲0.03 | 149.19 ▼12.57 | 121.38 ▲4.39 |
Edit Notes /wp-admin/edit.php?post_type=note | 1,459 | 2.64 | 61.05 | 70.00 |
New Note /wp-admin/post-new.php?post_type=note | 2,987 | 9.14 | 238.87 | 141.91 |
My Notes /wp-admin/edit.php?post_type=note&page=my_notes | 1,105 | 2.40 | 58.38 | 68.44 |
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
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== simple-admin-notes ===
) - Screenshots: Please add images for these screenshots: #1 (A screenshot of Notes in the Admin and the Notes menu.), #2 (Choose to display notes on certain posts by id.)
simple-admin-notes/simple-notes.php 92% from 13 tests
The main PHP script in "Simple Admin Notes" version 1.4.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-admin-notes.php" instead of "simple-notes.php")
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
Everything looks great! No dangerous files found in this plugin341 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 92 | 87 | 261 |
CSS | 2 | 11 | 0 | 80 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 16 | |
▷ Named functions | 16 | 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