Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/autofastindex/inc/main.php+4
file_get_contents(wp-content/uploads/autoindex_do_not_delete_this_file/notification.json): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.93MB] [CPU: ▼50.41ms] Passed 4 tests
A check of server-side resources used by AutoFastindex
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.40 ▼35.00 |
Dashboard /wp-admin | 2.08 ▼1.26 | 5.53 ▼49.16 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.55 ▼37.90 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.40 ▼79.59 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 5.26 ▼26.77 |
AutoFast /wp-admin/admin.php?page=AutoFastindex | 2.08 | 5.86 |
Lisense /wp-admin/admin.php?page=lisense | 2.08 | 7.57 |
Notices /wp-admin/admin.php?page=notice | 2.08 | 6.09 |
Manual Indexing /wp-admin/admin.php?page=Manual_Indexing | 2.08 | 5.64 |
Success Logs /wp-admin/admin.php?page=successlogs | 2.08 | 5.35 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for AutoFastindex
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 14.43 ▲0.08 | 1.93 ▲0.28 | 37.67 ▼1.45 |
Dashboard /wp-admin | 2,376 ▲204 | 6.15 ▲0.49 | 119.49 ▲14.18 | 40.74 ▲2.68 |
Posts /wp-admin/edit.php | 2,304 ▲207 | 3.50 ▲1.52 | 47.01 ▲12.52 | 30.40 ▼7.58 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.43 ▲0.39 | 576.77 ▼60.71 | 31.85 ▼17.60 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.17 ▼0.03 | 82.75 ▼12.31 | 42.10 ▼2.83 |
AutoFast /wp-admin/admin.php?page=AutoFastindex | 3,101 | 23.68 | 659.15 | 106.60 |
Lisense /wp-admin/admin.php?page=lisense | 729 | 1.50 | 11.69 | 29.76 |
Notices /wp-admin/admin.php?page=notice | 726 | 1.50 | 11.64 | 21.65 |
Manual Indexing /wp-admin/admin.php?page=Manual_Indexing | 729 | 1.68 | 9.78 | 17.08 |
Success Logs /wp-admin/admin.php?page=successlogs | 727 | 1.50 | 11.74 | 22.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/autofastindex/inc/main.php+4
file_get_contents(wp-content/uploads/autoindex_do_not_delete_this_file/notification.json): failed to open stream: No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=successlogs
- > Warning in wp-content/plugins/autofastindex/inc/main.php+4
file_get_contents(wp-content/uploads/autoindex_do_not_delete_this_file/notification.json): failed to open stream: No such file or directory
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=successlogs
- > Notice in wp-content/plugins/autofastindex/inc/main.php+8
Trying to get property 'request_notify' of non-object
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+270
Undefined variable: email
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+278
Undefined variable: site
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+297
Undefined variable: e_notification
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+310
Undefined variable: w_notification
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+322
Undefined variable: whatsapp_no
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+664
Undefined variable: enabledirectIndexing
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+646
Undefined variable: enablegoogle
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+412
Undefined variable: file
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+435
Undefined variable: google_text
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+638
Undefined variable: enablebing
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+503
Undefined variable: bingapi
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+654
Undefined variable: enable_yandex
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+565
Undefined variable: yandex_UserId
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+573
Undefined variable: yandex_HostId
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+581
Undefined variable: yandex_AuthKey
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > Notice in wp-content/plugins/autofastindex/inc/setting.php+724
Undefined variable: google_text_enable
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/autofastindex/Autoindex.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant autoindex_upload - assumed 'autoindex_upload' (this will throw an Error in a future version of PHP) in wp-content/plugins/autofastindex/inc/autoindex.php on line 6
- > PHP Notice
Trying to get property 'url' of non-object in wp-content/plugins/autofastindex/inc/autoindex.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/autofastindex/inc/lisense.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/autofastindex/inc/success.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/autofastindex/inc/manualIndex.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/autofastindex/inc/setting.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/autofastindex/inc/error.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/autofastindex/inc/autoindex.php:14
- > PHP Notice
Trying to get property 'google_json_file' of non-object in wp-content/plugins/autofastindex/inc/autoindex.php on line 11
- > PHP Notice
Trying to get property 'email' of non-object in wp-content/plugins/autofastindex/inc/autoindex.php on line 12
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=successlogs
- > Network (severe)
wp-content/plugins/autofastindex/media-uploader.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=AutoFastindex
- > 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: $j(...).accordion is not a function" "TypeError: $j(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=AutoFastindex:635:24)\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=AutoFastindex
- > 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: $j(...).accordion is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== autofastindex ===
)
autofastindex/Autoindex.php 85% from 13 tests
The main PHP file in "AutoFastindex" ver. 2.10.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("autofastindex.php" instead of "Autoindex.php")
- Description: The description should be shorter than 140 characters (currently 232 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,537 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 670 | 16 | 1,302 |
JavaScript | 1 | 3 | 11 | 170 |
Markdown | 1 | 23 | 0 | 53 |
JSON | 1 | 0 | 0 | 9 |
CSS | 3 | 0 | 9 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/email.png | 29.85KB | 11.36KB | ▼ 61.93% |
assets/images/whatsapp.png | 22.33KB | 9.31KB | ▼ 58.30% |