Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.62MB] [CPU: ▲6.21ms] Passed 4 tests
A check of server-side resources used by Altis Accelerate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.16 ▲1.65 | 54.40 ▲12.69 |
Dashboard /wp-admin | 5.00 ▲1.66 | 63.95 ▲10.30 |
Posts /wp-admin/edit.php | 5.05 ▲1.66 | 57.43 ▲7.10 |
Add New Post /wp-admin/post-new.php | 7.52 ▲1.59 | 96.03 ▼5.25 |
Media Library /wp-admin/upload.php | 4.86 ▲1.59 | 50.56 ▲17.30 |
Accelerate /wp-admin/admin.php?page=accelerate | 4.86 | 45.18 |
Settings /wp-admin/admin.php?page=altis-accelerate-settings | 4.86 | 43.79 |
Server storage [IO: ▲10.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 730 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Altis Accelerate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲58 | 14.65 ▲0.30 | 1.79 ▼0.18 | 42.29 ▼3.35 |
Dashboard /wp-admin | 2,253 ▲76 | 5.58 ▲0.06 | 92.05 ▼1.63 | 44.72 ▲2.63 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.05 ▲0.05 | 37.75 ▲3.18 | 35.19 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,627 ▲96 | 22.36 ▼0.67 | 656.10 ▼98.77 | 36.31 ▼20.02 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.15 ▼0.05 | 115.54 ▲1.19 | 49.19 ▲0.99 |
Accelerate /wp-admin/admin.php?page=accelerate | 1,021 | 6.62 | 159.07 | 93.45 |
Settings /wp-admin/admin.php?page=altis-accelerate-settings | 1,001 | 6.52 | 61.35 | 76.76 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 246× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\BodySummarizerInterface' not found in wp-content/plugins/altis-accelerate/vendor/guzzlehttp/guzzle/src/BodySummarizer.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/altis-accelerate/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/altis-accelerate/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'MathPHP\\Probability\\Distribution\\Continuous\\Continuous' not found in wp-content/plugins/altis-accelerate/vendor/markrogoyski/math-php/src/Probability/Distribution/Continuous/NoncentralT.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/altis-accelerate/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Class 'MathPHP\\Probability\\Distribution\\Discrete\\Discrete' not found in wp-content/plugins/altis-accelerate/vendor/markrogoyski/math-php/src/Probability/Distribution/Discrete/Geometric.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/altis-accelerate/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/altis-accelerate/vendor/guzzlehttp/psr7/src/BufferStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/altis-accelerate/vendor/guzzlehttp/psr7/src/Response.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/altis-accelerate/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: dxp, personalization, analytics, openai, ai...
altis-accelerate/plugin.php 92% from 13 tests
The entry point to "Altis Accelerate" version 3.1.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("altis-accelerate.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin57,570 lines of code in 693 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 431 | 7,272 | 24,981 | 34,698 |
JavaScript | 114 | 1,167 | 1,668 | 8,202 |
TypeScript | 57 | 556 | 406 | 4,833 |
Markdown | 13 | 935 | 0 | 3,120 |
JSON | 27 | 0 | 0 | 3,028 |
Sass | 9 | 391 | 40 | 2,037 |
CSS | 21 | 240 | 12 | 1,237 |
SQL | 8 | 5 | 17 | 186 |
XML | 5 | 5 | 3 | 114 |
make | 2 | 14 | 0 | 47 |
YAML | 2 | 2 | 1 | 24 |
Bourne Shell | 1 | 3 | 10 | 23 |
SVG | 3 | 0 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 9.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 335.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 75 | |
Interfaces | 28 | |
Traits | 8 | |
Classes | 337 | |
▷ Abstract classes | 13 | 3.86% |
▷ Concrete classes | 324 | 96.14% |
▷ Final classes | 35 | 10.80% |
Methods | 1,943 | |
▷ Static methods | 493 | 25.37% |
▷ Public methods | 1,714 | 88.21% |
▷ Protected methods | 61 | 3.14% |
▷ Private methods | 168 | 8.65% |
Functions | 610 | |
▷ Named functions | 333 | 54.59% |
▷ Anonymous functions | 277 | 45.41% |
Constants | 208 | |
▷ Global constants | 7 | 3.37% |
▷ Class constants | 201 | 96.63% |
▷ Public constants | 190 | 94.53% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 4.99MB with 3.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/screenshot-1.png | 200.28KB | 87.55KB | ▼ 56.28% |
.wordpress-org/screenshot-4.png | 53.34KB | 19.50KB | ▼ 63.43% |
.wordpress-org/screenshot-2.png | 39.14KB | 14.63KB | ▼ 62.63% |
.wordpress-org/banner-1544x500.png | 851.75KB | 267.35KB | ▼ 68.61% |
.wordpress-org/icon.png | 42.53KB | 21.64KB | ▼ 49.11% |