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.00MB] [CPU: ▼288.63ms] Passed 4 tests
Server-side resources used by Administrate more comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.01 | 66.44 ▲7.65 |
Dashboard /wp-admin | 4.04 ▲0.01 | 37.92 ▼5.66 |
Posts /wp-admin/edit.php | 4.34 ▲0.01 | 40.89 ▼5.94 |
Add New Post /wp-admin/post-new.php | 7.57 ▼0.02 | 155.67 ▼1,143.11 |
Media Library /wp-admin/upload.php | 3.99 ▲0.01 | 27.98 ▲0.20 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
amc_number_comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Administrate more comments
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲61 | 16.14 ▲0.36 | 5.59 ▼1.20 | 2.22 ▲0.02 |
Dashboard /wp-admin | 2,895 ▲35 | 6.14 ▼0.01 | 131.47 ▲5.47 | 159.64 ▼8.60 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▲0.00 | 69.37 ▼2.61 | 142.79 ▼10.46 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 20.67 ▼1.32 | 432.63 ▲0.35 | 186.83 ▲5.09 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.49 ▼0.13 | 151.69 ▼6.17 | 213.04 ▲6.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/administrate-more-comments/admin-more-comments.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (100 comments shown.)
administrate-more-comments/admin-more-comments.php 92% from 13 tests
The main file in "Administrate more comments" v. 0.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("administrate-more-comments.php" instead of "admin-more-comments.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin16 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 34 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
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 | 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 | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.23MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 67.78KB | 22.33KB | ▼ 67.06% |
assets/screenshot-1.png | 67.78KB | 22.33KB | ▼ 67.06% |
assets/banner-750x250.png | 34.58KB | 11.06KB | ▼ 68.01% |
assets/amc-banner-750x250.png | 34.58KB | 11.06KB | ▼ 68.01% |
assets/amc-banner-870x250.png | 35.08KB | 11.13KB | ▼ 68.26% |