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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.10ms] Passed 4 tests
This is a short check of server-side resources used by NebuCore
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.70 ▼4.78 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.57 ▼6.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.25 ▼7.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.54 ▼5.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.52 ▲1.39 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for NebuCore
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲41 | 14.47 ▲0.23 | 1.86 ▼0.35 | 43.75 ▼1.15 |
Dashboard /wp-admin | 2,221 ▲50 | 4.86 ▼1.01 | 109.17 ▼1.42 | 40.49 ▼11.39 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▼0.00 | 36.55 ▼0.03 | 34.15 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,554 ▲16 | 18.43 ▼4.34 | 597.28 ▼56.07 | 67.10 ▲24.67 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.24 ▲0.08 | 95.53 ▼11.25 | 43.37 ▼6.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: e-commerce, woocommerce, json, order, woo commerce...
nebucore/wc-nebucore.php 92% from 13 tests
Analyzing the main PHP file in "NebuCore" version 0.1.4
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("nebucore.php" instead of "wc-nebucore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin413 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 54 | 208 | 413 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 24 | |
▷ Static methods | 5 | 20.83% |
▷ Public methods | 15 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 37.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected