Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.80ms] Passed 4 tests
A check of server-side resources used by Oswald Lite Extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.93 ▼2.58 |
Dashboard /wp-admin | 3.32 ▼0.03 | 56.68 ▼7.89 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.26 ▼4.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.96 ▼4.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.10 ▲1.32 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Oswald Lite Extension: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲32 | 14.23 ▼0.03 | 1.76 ▼0.40 | 43.06 ▼2.54 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▲0.02 | 83.06 ▼10.79 | 38.60 ▼6.70 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 35.24 ▼1.73 | 34.92 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.03 ▼0.61 | 690.00 ▼2.55 | 57.55 ▼6.33 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.28 ▲0.06 | 108.93 ▲1.37 | 47.33 ▲1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/header/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/services/services.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oswald-lite-extension/includes/theme-adding-functions.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/team/team.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/about/about.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/contact/contact.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/partners/partners.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/testimonial/testimonial.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function oswald_option() in wp-content/plugins/oswald-lite-extension/templates/frontpage/call_to_action/call_to_action.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function add_panel() on null in wp-content/plugins/oswald-lite-extension/includes/customizer/register-panels-and-sections.php:10
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: single page, one page, woocommerce, portfolio, gallery...
oswald-lite-extension/oswald-lite-extension.php 92% from 13 tests
The entry point to "Oswald Lite Extension" version 1.0.4.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin6,553 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 532 | 367 | 6,115 |
JavaScript | 1 | 29 | 0 | 438 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin