Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/appcastlenet-api/appcastle.php+132
Declaration of AcPlugin_Upgrader_Skin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
Server metrics [RAM: ▼1.92MB] [CPU: ▼50.40ms] Passed 4 tests
Server-side resources used by appcastle.net API
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.62 ▼34.60 |
Dashboard /wp-admin | 2.09 ▼1.21 | 7.26 ▼39.51 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.11 ▼38.52 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.66 ▼88.95 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.92 ▼27.11 |
appcastle.net Settings /wp-admin/options-general.php?page=appcastle | 2.09 | 5.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
appcastle_enable_access |
can_compress_scripts |
db_upgraded |
appcastle_api_key |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for appcastle.net API
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.10 | 1.72 ▼0.02 | 43.37 ▼1.45 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.06 | 111.11 ▼3.77 | 43.03 ▼5.29 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.14 | 33.58 ▼2.24 | 34.45 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,536 ▼2 | 22.96 ▼0.26 | 666.74 ▲29.97 | 56.69 ▲5.94 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.22 ▲0.05 | 94.71 ▼3.75 | 43.52 ▲2.14 |
appcastle.net Settings /wp-admin/options-general.php?page=appcastle | 802 | 2.18 | 22.18 | 25.49 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/appcastlenet-api/appcastle.php+132
Declaration of AcPlugin_Upgrader_Skin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- appcastle_enable_access
- widget_recent-comments
- db_upgraded
- appcastle_api_key
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=appcastle
- > Warning in wp-content/plugins/appcastlenet-api/appcastle.php+132
Declaration of AcPlugin_Upgrader_Skin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=appcastle
- > Warning in wp-content/plugins/appcastlenet-api/appcastle.php+155
Declaration of AcTheme_Upgrader_Skin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=appcastle
- > Warning in wp-content/plugins/appcastlenet-api/appcastle.php+182
Declaration of AcCore_Upgrader_Skin::feedback($feedback) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)
- > GET request to /wp-admin/options-general.php?page=appcastle
- > Notice in wp-content/plugins/appcastlenet-api/AcAdminInterface.php+22
Undefined variable: message
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined index: action in wp-content/plugins/appcastlenet-api/appcastle_api.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/appcastlenet-api/AcPlugin.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/appcastlenet-api/AcPlugin.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/appcastlenet-api/appcastle.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/appcastlenet-api/AcAdminInterface.php:15
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/appcastlenet-api/AcPlugin.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== appcastlenet-api ===
)
appcastlenet-api/appcastle.php 85% from 13 tests
This is the main PHP file of "appcastle.net API" version 0.7.28, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("appcastlenet-api.php" instead of "appcastle.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin458 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 158 | 67 | 448 |
PO File | 1 | 5 | 6 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 17 | 45.95% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin