Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼291.79ms] Passed 4 tests
An overview of server-side resources used by Admin Notebook
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 55.84 ▲4.99 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.41 ▼2.05 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 41.20 ▲5.28 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 93.33 ▼1,170.43 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 25.47 ▲0.32 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Notebook
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,981 ▲227 | 16.17 ▲0.55 | 9.83 ▲3.56 | 5.23 ▲2.62 |
Dashboard /wp-admin | 2,921 ▲67 | 6.13 ▼0.04 | 114.10 ▼19.82 | 156.65 ▼4.47 |
Posts /wp-admin/edit.php | 2,720 ▲32 | 3.23 ▼0.01 | 67.22 ▲2.48 | 143.65 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,840 ▲89 | 23.86 ▲2.10 | 416.12 ▼31.70 | 158.78 ▲7.22 |
Media Library /wp-admin/upload.php | 1,722 ▲24 | 5.51 ▲0.01 | 145.27 ▼15.50 | 179.14 ▼18.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 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 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
Please take a closer look at the following
- 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/admin-notebook/admin-notebook.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
- Screenshots: Add descriptions for screenshots #1, #2, #3 in admin-notebook/assets to your readme.txt
admin-notebook/admin-notebook.php Passed 13 tests
Analyzing the main PHP file in "Admin Notebook" version 2.1
65 characters long description:
Admin Notebook is simply allow wordpress site admin to add notes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin102 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 5 | 7 | 42 |
PHP | 1 | 5 | 7 | 37 |
CSS | 1 | 1 | 0 | 23 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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