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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼299.42ms] Passed 4 tests
Analyzing server-side resources used by Adobe Analytics for WordPress by RepEquity
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.18 ▼0.34 | 16.70 ▼35.13 |
Dashboard /wp-admin | 3.60 ▲0.19 | 34.91 ▲2.01 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 37.79 ▼7.20 |
Add New Post /wp-admin/post-new.php | 7.08 ▲0.11 | 93.77 ▼1,157.36 |
Media Library /wp-admin/upload.php | 3.48 ▲0.18 | 25.75 ▲2.29 |
Adobe Analytics /wp-admin/options-general.php?page=adobe_analytics | 3.47 | 24.65 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Adobe Analytics for WordPress by RepEquity
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲38 | 15.59 ▼0.05 | 6.52 ▼0.31 | 3.22 ▲0.50 |
Dashboard /wp-admin | 2,880 ▲19 | 6.13 ▼0.01 | 119.52 ▼11.69 | 152.93 ▼8.82 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.25 ▲0.01 | 63.73 ▼2.21 | 145.74 ▼6.39 |
Add New Post /wp-admin/post-new.php | 1,768 ▲107 | 17.36 ▲1.29 | 395.08 ▼32.91 | 171.49 ▲12.17 |
Media Library /wp-admin/upload.php | 1,706 ▲5 | 5.55 ▲0.01 | 142.50 ▼8.59 | 187.46 ▲0.16 |
Adobe Analytics /wp-admin/options-general.php?page=adobe_analytics | 1,496 | 2.41 | 54.89 | 129.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/adobe-analytics/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/adobe-analytics/metaboxes/meta_box.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/adobe-analytics/adobe_analytics.php:261
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=adobe_analytics
- > Network (severe)
wp-content/plugins/adobe_analytics/templates/assets/admin-styles.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=adobe_analytics
- > Network (severe)
wp-content/plugins/adobe_analytics/templates/assets/admin-scripts.js?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
- Requires at least: Version format is invalid
adobe-analytics/adobe_analytics.php 92% from 13 tests
The principal PHP file in "Adobe Analytics for WordPress by RepEquity" v. 0.6.8 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("adobe-analytics.php" instead of "adobe_analytics.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
Success! There were no dangerous files found in this plugin1,786 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 109 | 227 | 899 |
CSS | 4 | 67 | 65 | 694 |
JavaScript | 3 | 36 | 39 | 193 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 17.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metaboxes/images/image.png | 2.74KB | 0.10KB | ▼ 96.43% |
metaboxes/images/sprite.png | 6.06KB | 2.18KB | ▼ 64.10% |
metaboxes/images/chosen-sprite.png | 0.55KB | 0.70KB | 0.00% |
templates/assets/adobe-analytics.png | 3.47KB | 2.65KB | ▼ 23.66% |
templates/assets/re-horizontal.png | 16.88KB | 6.21KB | ▼ 63.19% |