Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wave-for-wp/php/wave.php+55
Function create_function() is deprecated
Server metrics [RAM: ▼1.95MB] [CPU: ▼51.49ms] Passed 4 tests
Server-side resources used by Wave
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.75 ▼40.51 |
Dashboard /wp-admin | 2.06 ▼1.24 | 7.03 ▼41.25 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 5.70 ▼40.58 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.83 | 5.77 ▼83.63 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 4.74 ▼29.82 |
Wave Settings /wp-admin/options-general.php?page=wave_settings | 2.06 | 6.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Wave
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.21 ▼1.07 | 4.72 ▲2.94 | 43.64 ▲5.22 |
Dashboard /wp-admin | 2,219 ▲31 | 4.87 ▼0.17 | 104.20 ▼4.29 | 39.93 ▲0.26 |
Posts /wp-admin/edit.php | 2,087 ▼2 | 2.00 ▼0.05 | 36.69 ▼2.19 | 36.94 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,708 ▲173 | 24.86 ▲1.64 | 688.43 ▲60.50 | 68.35 ▲0.82 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.18 ▼0.01 | 106.71 ▲4.02 | 42.06 ▼0.84 |
Wave Settings /wp-admin/options-general.php?page=wave_settings | 1,037 | 2.34 | 32.02 | 63.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wave-for-wp/php/wave.php+55
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wave_settings
- > Deprecated in wp-content/plugins/wave-for-wp/php/wave.php+55
Function create_function() is deprecated
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wave-for-wp/php/options.php:236
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wave-for-wp/php/options.php:236
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wave-for-wp/php/wave.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wave_settings
- > Network (severe)
https://app.codox.io/verify/subscription - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 93% 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: tinymce, co-editing, collaboration, collaborative editing, real-time...
wave-for-wp/wave-wp.php 85% from 13 tests
The main PHP file in "Wave" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wave-for-wp.php" instead of "wave-wp.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected683 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 152 | 174 | 398 |
JavaScript | 4 | 90 | 52 | 269 |
HTML | 1 | 5 | 0 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 3 | 21.43% |
▷ Class constants | 11 | 78.57% |
▷ Public constants | 11 | 100.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
PNG images were not found in this plugin