Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.56MB] [CPU: ▼45.62ms] Passed 4 tests
A check of server-side resources used by Etoile Theme Companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.28 ▲4.73 |
Dashboard /wp-admin | 2.40 ▼0.95 | 13.03 ▼47.39 |
Posts /wp-admin/edit.php | 2.40 ▼0.96 | 11.80 ▼34.67 |
Add New Post /wp-admin/post-new.php | 2.40 ▼3.49 | 12.21 ▼75.09 |
Media Library /wp-admin/upload.php | 2.40 ▼0.83 | 11.31 ▼25.33 |
Jump Boxes /wp-admin/edit.php?post_type=upcp_theme_jumpboxes | 2.40 | 12.38 |
Testimonials /wp-admin/edit.php?post_type=upcp_theme_testi | 2.40 | 12.64 |
Featured Products /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage | 2.40 | 12.37 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_upcp_theme_testimonials_widget |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Etoile Theme Companion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.79 ▼0.56 | 10.00 ▲8.34 | 46.53 ▲5.29 |
Dashboard /wp-admin | 2,231 ▲50 | 5.49 ▼0.19 | 83.46 ▼18.17 | 40.88 ▲1.39 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.03 ▲0.03 | 35.36 ▼0.96 | 32.59 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 23.21 ▲0.17 | 677.51 ▲12.43 | 61.70 ▲10.26 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.22 ▲0.04 | 110.27 ▲10.33 | 48.35 ▲1.96 |
Jump Boxes /wp-admin/edit.php?post_type=upcp_theme_jumpboxes | 1,106 | 1.96 | 29.38 | 29.68 |
Testimonials /wp-admin/edit.php?post_type=upcp_theme_testi | 1,109 | 1.96 | 30.81 | 30.28 |
Featured Products /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage | 1,189 | 3.45 | 40.56 | 30.08 |
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 did not uninstall without warnings or errors
- > Notice in wp-content/plugins/etoile-theme-companion/etoile-theme-companion.php+64
Undefined index: Action
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- widget_upcp_theme_testimonials_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage
- > Notice in wp-content/plugins/etoile-theme-companion/etoile-theme-companion.php+64
Undefined index: Action
- > GET request to /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage
- > Notice in wp-content/plugins/etoile-theme-companion/etoile-theme-companion.php+126
Undefined variable: Display_Tab
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
Please fix the following
- 1× 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/etoile-theme-companion/etoile-theme-companion.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).spectrum is not a function" "TypeError: jQuery(...).spectrum is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/etoile-theme-companion/js/Admin.js?ver=6.3.1:70:37)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=EWD-UPCP-Theme-options&DisplayPage=Homepage
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).spectrum is not a function
Optimizations
Plugin configuration Passed 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
2 plugin tags: ultimate showcase, etoile web design
etoile-theme-companion/etoile-theme-companion.php Passed 13 tests
The main file in "Etoile Theme Companion" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
A plugin that adds functionality to the themes by Etoile Web Design.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,102 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 92 | 61 | 521 |
CSS | 1 | 32 | 16 | 400 |
JavaScript | 3 | 41 | 15 | 181 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin