Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.09ms] Passed 4 tests
This is a short check of server-side resources used by Archivescode addons for elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.56 ▼7.64 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.10 ▲1.29 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.70 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.68 ▼10.55 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.16 ▲0.04 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
afe_first_install_time |
afe_widgets |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Archivescode addons for elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.23 ▼1.07 | 5.26 ▲2.82 | 44.84 ▲7.64 |
Dashboard /wp-admin | 2,225 ▲34 | 5.79 ▲0.92 | 116.28 ▲3.77 | 42.60 ▼1.89 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.97 ▼0.04 | 40.90 ▼0.43 | 37.36 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,435 ▼84 | 22.31 ▼1.13 | 568.42 ▼44.91 | 104.60 ▲53.50 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.27 ▼0.02 | 106.01 ▲5.81 | 38.78 ▼4.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- afe_first_install_time
- afe_widgets
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- 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
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/archivescode-addons-for-elementor/admin/views/settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
Attributes that require attention:
- Screenshots: Screenshot #1 (create slider) image missing
archivescode-addons-for-elementor/archivescode-for-elementor.php 85% from 13 tests
The primary PHP file in "Archivescode addons for elementor" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("archivescode-addons-for-elementor.php" instead of "archivescode-for-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin12,136 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 502 | 175 | 5,272 |
CSS | 10 | 573 | 99 | 4,390 |
JavaScript | 4 | 583 | 1,135 | 2,405 |
Markdown | 1 | 37 | 0 | 69 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 66 | |
▷ Static methods | 2 | 3.03% |
▷ Public methods | 49 | 74.24% |
▷ Protected methods | 12 | 18.18% |
▷ Private methods | 5 | 7.58% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 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.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/icon.png | 0.51KB | 0.47KB | ▼ 8.80% |
assets/owl/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |