Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.24ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Elimination
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.44 ▼2.11 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.08 ▲0.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.09 ▲3.51 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.43 ▲3.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.01 ▼3.30 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Elimination
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲18 | 13.14 ▼1.64 | 4.88 ▲2.98 | 42.41 ▼4.78 |
Dashboard /wp-admin | 2,210 ▲10 | 5.78 ▼0.09 | 96.30 ▼19.30 | 38.80 ▼5.86 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.04 | 36.01 ▲1.17 | 33.10 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,532 ▼1 | 23.02 ▼0.13 | 671.57 ▲24.29 | 51.20 ▲0.96 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.21 ▼0.03 | 97.71 ▼2.18 | 43.51 ▼4.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
3 plugin tags: plugin, testing, debug
plugin-elimination/plugin-elimination.php 92% from 13 tests
Analyzing the main PHP file in "Plugin Elimination" version .9...
You should first fix the following items:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of ".9...")
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
Success! There were no dangerous files found in this plugin205 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 74 | 293 | 133 |
CSS | 1 | 1 | 4 | 37 |
JavaScript | 1 | 4 | 27 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.20 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin