Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼6.38ms] Passed 4 tests
Analyzing server-side resources used by AI Data Science Templates Addons for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.72 ▲2.60 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.39 ▼3.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.63 ▼5.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.74 ▼14.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.17 ▼2.77 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for AI Data Science Templates Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.39 ▲0.04 | 1.85 ▲0.15 | 48.85 ▲9.10 |
Dashboard /wp-admin | 2,212 ▲35 | 5.73 ▲0.04 | 83.44 ▼4.74 | 38.94 ▼5.79 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.03 ▲0.01 | 35.07 ▼0.26 | 33.44 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.16 ▼0.28 | 644.06 ▼57.85 | 70.00 ▲11.28 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.25 ▲0.10 | 99.11 ▼1.42 | 44.16 ▼1.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function AIDataTemplates\\add_action() in wp-content/plugins/ai-data-science-templates-for-elementor/includes/plugin.php:137
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
7 plugin tags: widget, addon, template, elementor, responsive...
ai-data-science-templates-for-elementor/ai-data-templates.php 85% from 13 tests
The main PHP file in "AI Data Science Templates Addons for Elementor" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- 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: The principal plugin file should be the same as the plugin slug ("ai-data-science-templates-for-elementor.php" instead of "ai-data-templates.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
Success! There were no dangerous files found in this plugin12,709 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 963 | 154 | 9,934 |
PHP | 15 | 412 | 1,106 | 1,697 |
JavaScript | 7 | 63 | 125 | 1,072 |
JSON | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 92 | |
▷ Static methods | 1 | 1.09% |
▷ Public methods | 69 | 75.00% |
▷ Protected methods | 21 | 22.83% |
▷ Private methods | 2 | 2.17% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.17MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instructions/elementor-insert-templates.png | 54.82KB | 23.31KB | ▼ 57.47% |
assets/images/instructions/elementor-add-templates.png | 7.29KB | 4.14KB | ▼ 43.22% |
assets/images/default/w2.png | 4.92KB | 2.98KB | ▼ 39.43% |
assets/images/default/icon.png | 0.49KB | 0.51KB | 0.00% |
assets/images/default/cards-bg.png | 106.40KB | 48.59KB | ▼ 54.33% |