Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.50ms] Passed 4 tests
Analyzing server-side resources used by Acelerator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 46.22 ▲2.44 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.94 ▼20.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.25 ▲4.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.88 ▼3.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.82 ▲5.45 |
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin | 3.22 | 32.49 |
Server storage [IO: ▲7.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 376 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
acelerator_options |
Browser metrics Passed 4 tests
Checking browser requirements for Acelerator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.27 ▼0.30 | 1.89 ▲0.01 | 40.27 ▼1.40 |
Dashboard /wp-admin | 2,202 ▲28 | 5.55 ▲0.01 | 92.44 ▲1.99 | 50.37 ▲9.59 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.00 | 40.55 ▲2.32 | 35.12 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.78 ▲0.60 | 639.90 ▲20.55 | 50.19 ▼5.59 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.28 ▲0.04 | 99.90 ▼2.47 | 44.66 ▼1.47 |
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin | 845 | 2.01 | 22.49 | 42.20 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- acelerator_options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #1 is required in acelerator/assets to your readme.txt
acelerator/acelerator.php Passed 13 tests
The primary PHP file in "Acelerator" version 0.1 is used by WordPress to initiate all plugin functionality
36 characters long description:
Enhance any textarea with ace editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin3,169 lines of code in 372 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 369 | 360 | 1 | 2,897 |
PHP | 2 | 26 | 13 | 257 |
Markdown | 1 | 8 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected