Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.16ms] Passed 4 tests
This is a short check of server-side resources used by Weaver II to Weaver Xtreme
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.11 ▲1.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.87 ▲4.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.69 ▲0.47 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.58 ▼8.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.76 ▲2.22 |
Weaver Converter /wp-admin/tools.php?page=wii2wx_tools | 3.44 | 31.19 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Weaver II to Weaver Xtreme: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.59 ▼1.16 | 4.63 ▲2.99 | 43.37 ▲0.63 |
Dashboard /wp-admin | 2,210 ▲19 | 5.84 ▲0.95 | 98.73 ▼4.49 | 39.01 ▼6.37 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▼0.01 | 36.33 ▼8.32 | 34.58 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.57 ▼1.00 | 665.90 ▲64.70 | 59.00 ▲2.60 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.01 | 96.28 ▼2.84 | 44.25 ▲1.42 |
Weaver Converter /wp-admin/tools.php?page=wii2wx_tools | 1,017 | 2.07 | 26.11 | 37.39 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-ii-to-weaver-xtreme/wii2wx_core.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/weaver-ii-to-weaver-xtreme/wii2wx_core.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
1 plugin tags: weaver plugins
weaver-ii-to-weaver-xtreme/wii2wx.php 85% from 13 tests
The principal PHP file in "Weaver II to Weaver Xtreme" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("weaver-ii-to-weaver-xtreme.php" instead of "wii2wx.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 characters long)
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
Everything looks great! No dangerous files found in this plugin2,211 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 229 | 151 | 1,886 |
JavaScript | 3 | 78 | 30 | 172 |
CSS | 2 | 27 | 24 | 153 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/download.png | 1.50KB | 0.33KB | ▼ 77.72% |
includes/images/default-button.png | 2.42KB | 2.12KB | ▼ 12.58% |