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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.24MB] [CPU: ▼15.96ms] Passed 4 tests
This is a short check of server-side resources used by Nexweave
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.39 ▲5.01 |
Dashboard /wp-admin | 3.07 ▼0.27 | 28.49 ▼33.51 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 34.64 ▼12.13 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 71.38 ▼14.61 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 29.20 ▼3.59 |
Server storage [IO: ▲11.82MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 103 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_nexweave |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Nexweave
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲156 | 13.55 ▼0.75 | 8.82 ▲7.05 | 41.88 ▲1.78 |
Dashboard /wp-admin | 2,225 ▲36 | 4.84 ▼1.08 | 102.27 ▼10.63 | 41.15 ▼3.29 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▼0.02 | 39.29 ▲4.33 | 35.80 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 18.21 ▼4.94 | 633.23 ▼35.21 | 55.10 ▼1.89 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.24 ▲0.05 | 97.70 ▼9.13 | 44.06 ▲0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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 0% from 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
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/nexweave/public/partials/nexweave-public-display.php
- > /wp-content/plugins/nexweave/admin/partials/template-dashboard.php
- > /wp-content/plugins/nexweave/admin/partials/nexweave-admin-display.php
- > /wp-content/plugins/nexweave/admin/partials/create-experience.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/nexweave/admin/partials/create-experience.php:91
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/nexweave/admin/partials/experience-table.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/nexweave/admin/partials/create-experience.php:91
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/nexweave/admin/partials/experience-table.php:21
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Donate link: Invalid URI found ("")
nexweave/nexweave.php Passed 13 tests
Analyzing the main PHP file in "Nexweave" version 1.1.0
78 characters long description:
Create Interactive Videos with Personalization on your wordpress pages, blogs.
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
Good job! No executable or dangerous file extensions detected93,256 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 15,955 | 22,098 | 69,441 |
CSS | 13 | 1,576 | 151 | 16,929 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 15 | 169 | 577 | 687 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 31 | 86.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.89% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.70MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/js/DataTables/DataTables-1.10.21/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/icon-256x256.png | 31.00KB | 13.07KB | ▼ 57.85% |
assets/images/banner-772x250.png | 73.37KB | 14.87KB | ▼ 79.74% |
assets/screenshot-2.png | 436.94KB | 137.03KB | ▼ 68.64% |
assets/banner-772x250.png | 17.01KB | 6.62KB | ▼ 61.06% |