Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.62ms] Passed 4 tests
Analyzing server-side resources used by Redfox Companion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.99 ▼3.39 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.84 ▼14.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.02 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.09 ▼15.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.17 ▼0.54 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Redfox Companion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.57 | 1.61 ▼0.45 | 43.83 ▲2.66 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.08 | 105.18 ▲1.78 | 42.22 ▼4.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.00 | 39.59 ▼0.72 | 34.91 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 18.64 ▲0.16 | 614.56 ▼17.06 | 68.24 ▲9.02 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.18 ▲0.00 | 95.84 ▼4.28 | 45.62 ▲2.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/redfox-companion/include/hotel-paradise/customizer/sections/section-service.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/redfox-companion/redfox-companion.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/redfox-companion/include/carpress/customizer/sections/section-slider.php:167
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/redfox-companion/include/hotel-paradise/customizer/sections/section-room.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/redfox-companion/include/hotel-paradise/customizer/sections/section-service.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/redfox-companion/include/hotel-paradise/customizer/sections/section-service.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/redfox-companion/include/carpress/functions/template-tags.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/redfox-companion/include/carpress/customizer/sections/section-service.php:149
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/redfox-companion/include/hotel-paradise/home-page/section-service.php:137
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/redfox-companion/include/carpress/customizer/sections/section-slider.php:167
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
redfox-companion/redfox-companion.php Passed 13 tests
The main file in "Redfox Companion" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
53 characters long description:
Enhances redfox themes with additional functionality.
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
Success! There were no dangerous files found in this plugin1,018 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 117 | 23 | 1,018 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin