Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.26ms] Passed 4 tests
This is a short check of server-side resources used by Archive Pages in Search Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.42 ▼6.11 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.41 ▼9.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.61 ▼2.12 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.92 ▼19.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.53 ▼1.89 |
Archive Pages in Search Lite /wp-admin/options-general.php?page=mkapis-lite-main | 3.21 | 35.63 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
mkapis_lite_archive_names |
mkapis_lite_settings_options |
Browser metrics Passed 4 tests
Checking browser requirements for Archive Pages in Search Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.20 ▼0.47 | 1.85 ▲0.13 | 46.05 ▲0.11 |
Dashboard /wp-admin | 2,196 ▲19 | 5.57 ▼0.11 | 85.94 ▼5.84 | 40.67 ▼4.34 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.04 | 36.74 ▲0.15 | 36.59 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.19 ▲5.49 | 627.32 ▼47.70 | 66.47 ▲11.06 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.24 ▲0.01 | 98.73 ▼7.86 | 42.66 ▼0.23 |
Archive Pages in Search Lite /wp-admin/options-general.php?page=mkapis-lite-main | 906 | 2.14 | 24.41 | 60.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- mkapis_lite_settings_options
- mkapis_lite_archive_names
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/archive-pages-in-search-lite/inc/appearance-settings.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/archive-pages-in-search-lite/inc/common.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/archive-pages-in-search-lite/inc/mkapis-settings.php:14
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
archive-pages-in-search-lite/archive-pages-in-search-lite.php 85% from 13 tests
Analyzing the main PHP file in "Archive Pages in Search Lite" version 1.0.0
The following require your attention:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin522 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 154 | 122 | 294 |
CSS | 1 | 0 | 4 | 228 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 18 | |
▷ Named functions | 18 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin