Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼35.19ms] Passed 4 tests
Server-side resources used by App La Carte - Apps made to order
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.97 ▼2.75 |
Dashboard /wp-admin | 2.99 ▼0.31 | 22.84 ▼30.04 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 24.00 ▼27.79 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 23.73 ▼71.39 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 23.60 ▼11.53 |
App La Carte settings /wp-admin/options-general.php?page=applacarte_wp_options | 3.00 | 24.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for App La Carte - Apps made to order
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.65 ▼0.95 | 6.05 ▲4.21 | 41.18 ▼6.75 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼1.16 | 111.36 ▲3.90 | 41.50 ▼1.05 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.09 ▲0.08 | 39.81 ▼0.71 | 34.58 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.08 ▼0.11 | 680.68 ▲4.12 | 54.32 ▼7.81 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.13 ▼0.14 | 114.99 ▲4.64 | 46.57 ▲4.54 |
App La Carte settings /wp-admin/options-general.php?page=applacarte_wp_options | 843 | 2.07 | 26.84 | 26.70 |
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
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=applacarte_wp_options
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=applacarte_wp_options
- > Notice in wp-content/plugins/app-la-carte/applacarte.php+92
Undefined index: alc_api_hidden
- > GET request to /wp-admin/options-general.php?page=applacarte_wp_options
- > Notice in wp-content/plugins/app-la-carte/applacarte.php+128
Trying to access array offset on value of type bool
SRP 50% 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
The following issues need your attention
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/comments.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/app-la-carte/applacarte.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_ALC_API_Version() in wp-content/plugins/app-la-carte/api/api_info.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/search.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/post_comment.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/article_details.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/articles.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/app-la-carte/api/post_comment_form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/app-la-carte/api/latest_articles.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
app-la-carte/applacarte.php 85% from 13 tests
Analyzing the main PHP file in "App La Carte - Apps made to order" version 1.0.5.1
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("app-la-carte.php" instead of "applacarte.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 430 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
Everything looks great! No dangerous files found in this plugin536 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 266 | 110 | 536 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected