Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼134.27ms] Passed 4 tests
An overview of server-side resources used by Blackout Congress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 39.90 ▲22.34 |
Dashboard /wp-admin | 3.06 ▲0.01 | 39.03 ▼4.80 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.95 ▲1.59 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 93.55 ▼528.41 |
Media Library /wp-admin/upload.php | 3.01 ▼0.00 | 30.91 ▼5.47 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blackout Congress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲231 | 16.23 ▲0.34 | 12.35 ▲4.83 | 54.17 ▲5.29 |
Dashboard /wp-admin | 2,967 ▲39 | 5.91 ▼0.09 | 137.68 ▲5.46 | 113.57 ▼7.32 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.69 ▼0.00 | 65.30 ▲3.94 | 90.16 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,691 ▲191 | 18.98 ▲0.41 | 366.35 ▲16.40 | 99.51 ▼3.59 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▲0.00 | 145.18 ▼7.75 | 110.04 ▼14.74 |
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
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/blackout-congress/blackout-congress.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: blackout, sopa, congress
blackout-congress/blackout-congress.php Passed 13 tests
The main PHP file in "Blackout Congress" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Blackout congress from visiting your site. Protest the system man!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin19 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 3 | 0 | 12 |
PHP | 1 | 3 | 20 | 7 |
PHP code Passed 2 tests
A brief analysis 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.25 |
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 | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected