Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲2.06MB] [CPU: ▲25.10ms] Passed 4 tests
Analyzing server-side resources used by Ayyash Studio — The kick-start kit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.52 ▲2.06 | 68.16 ▲23.13 |
Dashboard /wp-admin | 5.37 ▲2.06 | 75.53 ▲23.98 |
Posts /wp-admin/edit.php | 5.42 ▲2.06 | 82.49 ▲27.08 |
Add New Post /wp-admin/post-new.php | 7.95 ▲2.06 | 124.97 ▲26.22 |
Media Library /wp-admin/upload.php | 5.29 ▲2.06 | 71.27 ▲35.11 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 5.44 | 87.04 |
Ayyash Studio /wp-admin/themes.php?page=ayyash-studio | 5.64 | 67.02 |
Server storage [IO: ▲1.74MB] [DB: ▲0.09MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 181 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_actions |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
widget_recent-comments |
action_scheduler_hybrid_store_demarkation |
widget_recent-posts |
action_scheduler_lock_async-request-runner |
schema-ActionScheduler_LoggerSchema |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
schema-ActionScheduler_StoreSchema |
Browser metrics Passed 4 tests
Checking browser requirements for Ayyash Studio — The kick-start kit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.35 ▼0.21 | 1.83 ▲0.05 | 39.13 ▼4.75 |
Dashboard /wp-admin | 2,206 ▲26 | 5.62 ▲0.10 | 87.14 ▼7.83 | 40.34 ▼5.68 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.94 ▼0.03 | 38.92 ▲1.12 | 36.78 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.19 ▲0.05 | 638.43 ▼31.19 | 59.26 ▼5.29 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.24 ▲0.10 | 103.36 ▼1.54 | 44.00 ▼0.28 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,267 | 1.81 | 38.46 | 37.32 |
Ayyash Studio /wp-admin/themes.php?page=ayyash-studio | 2,643 | 12.63 | 290.59 | 101.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.09MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-posts
- schema-ActionScheduler_LoggerSchema
- widget_recent-comments
- widget_theysaidso_widget
- action_scheduler_lock_async-request-runner
- db_upgraded
- action_scheduler_hybrid_store_demarkation
- theysaidso_admin_options
- schema-ActionScheduler_StoreSchema
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 46× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/ActionScheduler_OptionLock.php:10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/class-wp-importer.php' (include_path='.:/usr/share/php') in wp-content/plugins/ayyash-studio/includes/Importer/Wxr/WXR_Importer.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'AyyashStudio\\Importer\\Wxr\\ImporterLogger' not found in wp-content/plugins/ayyash-studio/includes/Importer/Wxr/ServerSentEvents.php:21
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/lib/cron-expression/CronExpression_YearField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_FinishedAction' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php:9
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_ListTable' not found in wp-content/plugins/ayyash-studio/packages/action-scheduler/classes/ActionScheduler_ListTable.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
ayyash-studio/ayyash-studio.php 92% from 13 tests
This is the main PHP file of "Ayyash Studio — The kick-start kit" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin17,277 lines of code in 168 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 3,736 | 8,740 | 13,185 |
CSS | 3 | 835 | 316 | 4,040 |
JavaScript | 1 | 6 | 33 | 41 |
JSON | 7 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 259.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 8 | |
Traits | 8 | |
Classes | 126 | |
▷ Abstract classes | 20 | 15.87% |
▷ Concrete classes | 106 | 84.13% |
▷ Final classes | 7 | 6.60% |
Methods | 1,046 | |
▷ Static methods | 163 | 15.58% |
▷ Public methods | 767 | 73.33% |
▷ Protected methods | 242 | 23.14% |
▷ Private methods | 37 | 3.54% |
Functions | 85 | |
▷ Named functions | 72 | 84.71% |
▷ Anonymous functions | 13 | 15.29% |
Constants | 58 | |
▷ Global constants | 10 | 17.24% |
▷ Class constants | 48 | 82.76% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/images/congratulations.f7b5c578.png | 90.93KB | 30.09KB | ▼ 66.90% |
build/images/placeholder.561eeb22.png | 3.07KB | 0.91KB | ▼ 70.39% |