Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.72MB] [CPU: ▼54.06ms] Passed 4 tests
Analyzing server-side resources used by AuriFox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.20 | 6.15 ▼32.92 |
Dashboard /wp-admin | 2.29 ▼1.02 | 6.17 ▼46.11 |
Posts /wp-admin/edit.php | 2.29 ▼1.07 | 8.08 ▼47.31 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.60 | 8.66 ▼89.88 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 7.74 ▼30.41 |
Settings /wp-admin/edit.php?post_type=aurifox&page=sd_api | 2.29 | 6.63 |
Reset Data /wp-admin/admin.php?page=reset_data | 2.29 | 7.38 |
Add Funnels /wp-admin/post-new.php?post_type=aurifox | 2.29 | 7.70 |
Funnels /wp-admin/edit.php?post_type=aurifox | 2.29 | 7.83 |
Shortcodes /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes | 2.29 | 6.43 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
aurifox_posts_schema_version |
widget_aurifox_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for AuriFox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 13.32 ▼0.98 | 1.91 ▼0.11 | 46.09 ▲2.27 |
Dashboard /wp-admin | 2,243 ▲52 | 4.88 ▼0.01 | 100.67 ▼11.47 | 78.76 ▲37.58 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.02 ▲0.04 | 36.15 ▼4.77 | 36.23 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,549 ▲13 | 17.57 ▼5.68 | 755.04 ▲102.14 | 58.37 ▼10.65 |
Media Library /wp-admin/upload.php | 1,428 ▲37 | 4.15 ▼0.06 | 110.60 ▲10.22 | 82.10 ▲36.29 |
Settings /wp-admin/edit.php?post_type=aurifox&page=sd_api | 1,083 | 2.25 | 29.64 | 43.92 |
Reset Data /wp-admin/admin.php?page=reset_data | 825 | 2.19 | 20.87 | 28.89 |
Add Funnels /wp-admin/post-new.php?post_type=aurifox | 1,085 | 2.45 | 48.01 | 64.81 |
Funnels /wp-admin/edit.php?post_type=aurifox | 1,108 | 2.00 | 36.58 | 35.04 |
Shortcodes /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes | 1,279 | 2.26 | 30.73 | 42.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the myplugin-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_aurifox_widget
- aurifox_posts_schema_version
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the myplugin-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the myplugin-font-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the update-meta handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=sd_api
- > Notice in wp-content/plugins/aurifox/pages/settings.php+80
Undefined index: error
- > GET request to /wp-admin/post-new.php?post_type=aurifox
- > Notice in wp-content/plugins/aurifox/aurifox.php+171
Undefined index: post_type
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=aurifox
- > Notice in wp-content/plugins/aurifox/pages/edit.php+10
Undefined index: post
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_count_posts() in wp-content/plugins/aurifox/pages/reset_data.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aurifox/aurifox.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_email() in wp-content/plugins/aurifox/pages/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aurifox/pages/settings.php:41
- > PHP Warning
Use of undefined constant AURIFOX_API_URL - assumed 'AURIFOX_API_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/aurifox/pages/settings.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/aurifox/pages/edit.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/aurifox/uninstall.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=sd_api
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=aurifox&page=sd_api - Failed to decode downloaded font: /wp-content/plugins/aurifox/fonts/fontawesome-webfont.woff?v=4.2.0
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=sd_api
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=aurifox&page=sd_api - OTS parsing error: invalid sfntVersion: 926364774
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=sd_api
- > Network (severe)
wp-admin/api/getapidetails?email=&auth_token= - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=reset_data
- > Other (warning) in unknown
/wp-admin/admin.php?page=reset_data - Failed to decode downloaded font: /wp-content/plugins/aurifox/fonts/fontawesome-webfont.woff?v=4.2.0
- > GET request to /wp-admin/admin.php?page=reset_data
- > Other (warning) in unknown
/wp-admin/admin.php?page=reset_data - OTS parsing error: invalid sfntVersion: 926364774
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > Network (severe)
wp-admin/api/funnellist?email=&auth_token= - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=aurifox
- > Other (warning) in unknown
/wp-admin/post-new.php?post_type=aurifox - Failed to decode downloaded font: /wp-content/plugins/aurifox/fonts/fontawesome-webfont.woff?v=4.2.0
- > GET request to /wp-admin/post-new.php?post_type=aurifox
- > Other (warning) in unknown
/wp-admin/post-new.php?post_type=aurifox - OTS parsing error: invalid sfntVersion: 926364774
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes - Failed to decode downloaded font: /wp-content/plugins/aurifox/fonts/fontawesome-webfont.woff?v=4.2.0
- > GET request to /wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes
- > Other (warning) in unknown
/wp-admin/edit.php?post_type=aurifox&page=aurifox_shortcodes - OTS parsing error: invalid sfntVersion: 926364774
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: landing pages, leading pages, internet marketing, optin, aurifox...
aurifox/aurifox.php 92% from 13 tests
The principal PHP file in "AuriFox" v. 1.0.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 194 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
Success! There were no dangerous files found in this plugin2,129 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 170 | 20 | 1,553 |
SVG | 1 | 0 | 0 | 565 |
HTML | 1 | 2 | 0 | 8 |
CSS | 2 | 0 | 3 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.51KB | 1.42KB | ▼ 6.33% |
images/attention.png | 0.33KB | 0.36KB | 0.00% |
images/home.png | 0.25KB | 0.23KB | ▼ 6.32% |
images/email.png | 0.49KB | 0.47KB | ▼ 3.41% |
images/logo.png | 2.60KB | 2.20KB | ▼ 15.55% |