Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼644.76ms] Passed 4 tests
An overview of server-side resources used by The Void
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 33.30 ▼4.02 |
Dashboard /wp-admin | 3.09 ▲0.03 | 38.84 ▼10.49 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 48.74 ▲3.24 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 94.02 ▼2,567.78 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 34.33 ▲6.72 |
The Void /wp-admin/tools.php?page=the_void | 3.00 | 29.61 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
The Void: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲92 | 16.44 ▲0.93 | 9.88 ▲0.30 | 45.89 ▼4.87 |
Dashboard /wp-admin | 2,979 ▲82 | 5.93 ▼0.15 | 157.44 ▲12.73 | 112.51 ▲8.85 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.72 ▲0.02 | 68.60 ▼1.25 | 93.51 ▲5.45 |
Add New Post /wp-admin/post-new.php | 1,622 ▼61 | 14.02 ▼4.76 | 325.95 ▼33.76 | 100.08 ▼10.94 |
Media Library /wp-admin/upload.php | 1,816 ▲6 | 5.06 ▲0.05 | 150.16 ▼11.41 | 119.18 ▲7.52 |
The Void /wp-admin/tools.php?page=the_void | 1,067 | 2.10 | 60.16 | 70.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-void/the-void.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: delete posts, remove content, remove posts, delete content
the-void/the-void.php Passed 13 tests
The main PHP file in "The Void" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
30 characters long description:
Removes all content in 1 click
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin234 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 62 | 8 | 135 |
JavaScript | 1 | 3 | 0 | 52 |
CSS | 1 | 8 | 0 | 47 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin