Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼137.49ms] Passed 4 tests
Analyzing server-side resources used by Quick Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 35.49 ▲13.15 |
Dashboard /wp-admin | 3.11 ▲0.06 | 49.05 ▲3.52 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 54.09 ▲9.70 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 92.41 ▼559.61 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 28.43 ▼3.55 |
All Quick Links /wp-admin/edit.php?post_type=home_quick_link | 3.09 | 34.07 |
Add New /wp-admin/post-new.php?post_type=home_quick_link | 3.14 | 47.88 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Quick Links: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲122 | 15.89 ▲0.56 | 7.68 ▼2.30 | 44.71 ▼3.82 |
Dashboard /wp-admin | 3,005 ▲74 | 6.06 ▲0.13 | 130.49 ▼7.08 | 101.16 ▼10.90 |
Posts /wp-admin/edit.php | 2,771 ▲35 | 2.69 ▼0.00 | 86.00 ▲18.36 | 97.17 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,695 ▲12 | 18.89 ▲0.13 | 401.28 ▲16.97 | 106.29 ▼4.44 |
Media Library /wp-admin/upload.php | 1,842 ▲32 | 5.02 ▲0.00 | 156.47 ▲13.90 | 123.88 ▼3.60 |
All Quick Links /wp-admin/edit.php?post_type=home_quick_link | 1,428 | 2.61 | 61.01 | 81.55 |
Add New /wp-admin/post-new.php?post_type=home_quick_link | 2,412 | 4.53 | 104.24 | 77.70 |
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 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 everything seems fine, this is not 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 shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: button
home-quick-links/quick-links.php 92% from 13 tests
This is the main PHP file of "Quick Links" version 1.7.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("home-quick-links.php" instead of "quick-links.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
There were no executable files found in this plugin460 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 61 | 256 |
CSS | 1 | 2 | 0 | 61 |
Sass | 1 | 8 | 0 | 59 |
Markdown | 1 | 21 | 0 | 55 |
HTML | 1 | 15 | 0 | 28 |
JavaScript | 1 | 0 | 3 | 1 |
PHP code Passed 2 tests
This is a very shot review 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.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 | 14 | |
▷ Named functions | 14 | 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
PNG images were not found in this plugin