Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼132.82ms] Passed 4 tests
Analyzing server-side resources used by Advamentor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 42.63 ▲20.95 |
Dashboard /wp-admin | 3.09 ▲0.03 | 68.86 ▲30.49 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 51.56 ▲6.20 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 104.09 ▼552.74 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 36.75 ▼5.67 |
Server storage [IO: ▲17.98MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 84 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advamentor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲103 | 15.89 ▲0.37 | 10.83 ▲1.25 | 46.33 ▼0.89 |
Dashboard /wp-admin | 2,993 ▲59 | 5.89 ▼0.06 | 147.17 ▼1.45 | 120.31 ▲1.37 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.69 ▼0.01 | 72.29 ▲3.80 | 95.21 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,698 ▲15 | 18.76 ▼0.13 | 402.89 ▲16.36 | 114.78 ▼4.92 |
Media Library /wp-admin/upload.php | 1,828 ▲21 | 5.02 ▼0.01 | 180.77 ▲20.90 | 120.59 ▼14.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advamentor/includes/plugin-functions.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advamentor/includes/classes/class-advamentor.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advamentor/includes/admin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/advamentor/includes/templates/admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: elements, essential, elementor, widgets, addons...
advamentor/advamentor.php Passed 13 tests
The main PHP file in "Advamentor" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Premium & Advanced Essential Elements for Elementor
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
No dangerous file extensions were detected15,977 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,514 | 900 | 11,836 |
JavaScript | 14 | 726 | 973 | 2,762 |
CSS | 9 | 202 | 43 | 1,366 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 15.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 99 | |
▷ Static methods | 1 | 1.01% |
▷ Public methods | 64 | 64.65% |
▷ Protected methods | 35 | 35.35% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
19 PNG files occupy 14.13MB with 8.64MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/front/images/evezza.png | 1,516.13KB | 746.07KB | ▼ 50.79% |
assets/front/images/aetrio.png | 1,677.29KB | 558.09KB | ▼ 66.73% |
assets/front/images/advanced-banner/evezza.png | 1,516.13KB | 746.07KB | ▼ 50.79% |
assets/front/images/person2.png | 268.57KB | 86.36KB | ▼ 67.84% |
assets/front/images/eeta.png | 302.51KB | 92.47KB | ▼ 69.43% |