Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼3.51ms] Passed 4 tests
A check of server-side resources used by Aesop Story Engine
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 56.41 ▲18.33 |
Dashboard /wp-admin | 3.72 ▲0.41 | 62.04 ▲11.98 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 58.35 ▲8.75 |
Add New Post /wp-admin/post-new.php | 5.11 ▼0.78 | 54.92 ▼39.92 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.22 ▲5.15 |
New Story Collection /wp-admin/post-new.php?post_type=ai_story_collection | 5.10 | 51.07 |
Welcome to Aesop Story Engine /wp-admin/index.php?page=aesop-welcome-screen | 3.61 | 45.53 |
New Gallery /wp-admin/post-new.php?post_type=ai_galleries | 3.71 | 54.27 |
All Story Collections /wp-admin/edit.php?post_type=ai_story_collection | 3.70 | 50.71 |
All Galleries /wp-admin/edit.php?post_type=ai_galleries | 3.70 | 46.73 |
Server storage [IO: ▲5.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 252 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
ai_core_version |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Aesop Story Engine: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,399 ▲638 | 15.98 ▲1.70 | 13.26 ▲11.50 | 47.25 ▲4.57 |
Dashboard /wp-admin | 2,574 ▲397 | 6.75 ▲1.17 | 116.15 ▲10.32 | 96.54 ▲51.48 |
Posts /wp-admin/edit.php | 2,577 ▲477 | 3.68 ▲1.73 | 54.63 ▲18.38 | 76.53 ▲38.14 |
Add New Post /wp-admin/post-new.php | 6,810 ▲5,284 | 22.47 ▼1.13 | 974.55 ▲285.70 | 64.93 ▲11.20 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.17 ▼0.03 | 80.51 ▼18.95 | 72.69 ▲27.93 |
New Story Collection /wp-admin/post-new.php?post_type=ai_story_collection | 6,432 | 21.18 | 891.28 | 33.27 |
Welcome to Aesop Story Engine /wp-admin/index.php?page=aesop-welcome-screen | 1,605 | 3.60 | 44.81 | 67.28 |
New Gallery /wp-admin/post-new.php?post_type=ai_galleries | 2,497 | 5.96 | 80.22 | 99.14 |
All Story Collections /wp-admin/edit.php?post_type=ai_story_collection | 1,533 | 3.45 | 53.10 | 80.35 |
All Galleries /wp-admin/edit.php?post_type=ai_galleries | 1,498 | 3.51 | 50.62 | 72.33 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ai_story_collection
- > User deprecated in wp-includes/functions.php+5828
Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
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
Almost there! Just fix the following items
- 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/public/includes/components/component-map.php:132
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/admin/includes/components/component-chapter.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/admin/includes/notify.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aesop-story-engine/admin/includes/components/component-gallery.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aesop-story-engine/public/includes/browserclasses.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aesop-story-engine/public/includes/theme-helpers.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/public/includes/components/component-timeline.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/public/includes/options.php:248
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aesop-story-engine/public/includes/components/component-gallery.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aesop-story-engine/public/includes/css.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=ai_galleries
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false&key=AIzaSyDguxUeZr9LUPe9ImgYwXPTqPwQbsUFAJo&ver=6.3.1 235:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: aesop, education, parallax, story, gallery...
aesop-story-engine/aesop-core.php 85% from 13 tests
This is the main PHP file of "Aesop Story Engine" version 2.3.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aesop-story-engine.php" instead of "aesop-core.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin85,734 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 37 | 19,456 | 26,508 | 53,282 |
JavaScript | 49 | 4,038 | 4,894 | 16,606 |
PHP | 36 | 1,737 | 1,329 | 7,026 |
LESS | 30 | 538 | 326 | 3,233 |
SVG | 2 | 0 | 1 | 3,219 |
CSS | 24 | 415 | 36 | 2,368 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 7 | 5.04% |
▷ Public methods | 128 | 92.09% |
▷ Protected methods | 2 | 1.44% |
▷ Private methods | 9 | 6.47% |
Functions | 42 | |
▷ Named functions | 41 | 97.62% |
▷ Anonymous functions | 1 | 2.38% |
Constants | 4 | |
▷ Global constants | 4 | 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
18 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/includes/libs/leaflet/images/marker-icon-2x.png | 3.94KB | 2.53KB | ▼ 35.71% |
public/assets/img/prev.png | 1.33KB | 1.59KB | 0.00% |
admin/assets/img/aesop-gallery-layout-sprite.png | 4.98KB | 1.74KB | ▼ 65.05% |
public/assets/img/close.png | 0.27KB | 0.29KB | 0.00% |
admin/assets/img/icon.png | 0.37KB | 0.29KB | ▼ 21.22% |