Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼7.64ms] Passed 4 tests
Analyzing server-side resources used by Nibble Make an Offer App
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.76 ▼1.49 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.09 ▼16.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.07 ▲4.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.36 ▼13.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.97 ▲0.49 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Nibble Make an Offer App
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.32 | 1.57 ▼0.52 | 38.47 ▼2.94 |
Dashboard /wp-admin | 2,198 ▲27 | 5.63 ▲0.03 | 83.72 ▼2.99 | 37.32 ▼3.82 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▲0.03 | 37.88 ▲3.87 | 34.82 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.34 ▲0.07 | 662.30 ▼6.97 | 58.59 ▼9.38 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▼0.04 | 95.76 ▼9.18 | 40.94 ▼3.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: ecommerce, woocommerce
nibble-make-an-offer/nibble.php 85% from 13 tests
"Nibble Make an Offer App" version 0.9.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("nibble-make-an-offer.php" instead of "nibble.php")
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 plugin1,794 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 322 | 265 | 1,417 |
JavaScript | 2 | 73 | 33 | 376 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 40 | |
▷ Static methods | 5 | 12.50% |
▷ Public methods | 36 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.00% |
Functions | 56 | |
▷ Named functions | 48 | 85.71% |
▷ Anonymous functions | 8 | 14.29% |
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
No PNG files were detected