Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.54ms] Passed 4 tests
This is a short check of server-side resources used by Vaaky Highlighter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 44.54 ▼2.21 |
Dashboard /wp-admin | 3.47 ▲0.16 | 53.63 ▲3.05 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 55.34 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 99.33 ▼6.81 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 41.25 ▲1.10 |
Vaaky Highlighter /wp-admin/options-general.php?page=vaaky-highlighter | 3.36 | 37.72 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 61 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
vaaky-highlighter-settings-option |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Vaaky Highlighter: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲95 | 20.39 ▲6.25 | 1.75 ▼0.45 | 40.73 ▼3.78 |
Dashboard /wp-admin | 2,284 ▲104 | 10.88 ▲5.22 | 273.38 ▲180.76 | 46.80 ▲6.58 |
Posts /wp-admin/edit.php | 2,224 ▲124 | 10.47 ▲8.52 | 86.19 ▲46.30 | 34.19 ▼6.17 |
Add New Post /wp-admin/post-new.php | 6,195 ▲4,669 | 26.32 ▲3.26 | 780.10 ▲56.83 | 39.62 ▼23.93 |
Media Library /wp-admin/upload.php | 1,509 ▲109 | 11.06 ▲6.91 | 155.23 ▲38.09 | 44.88 ▼14.56 |
Vaaky Highlighter /wp-admin/options-general.php?page=vaaky-highlighter | 1,305 | 10.10 | 78.13 | 26.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
10 plugin tags: highlightjs, highlighter, syntax highlighter, sourcecode, snippets...
vaaky-highlighter/vaaky-highlighter.php 92% from 13 tests
The primary PHP file in "Vaaky Highlighter" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("/Languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,208 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 6 | 6 | 1,361 |
PHP | 15 | 198 | 619 | 803 |
CSS | 26 | 7 | 55 | 44 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.44 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 6 | 14.29% |
▷ Public methods | 38 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.52% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 10 | |
▷ Global constants | 5 | 50.00% |
▷ Class constants | 5 | 50.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Frontend/css/brown-papersq.png | 17.77KB | 9.92KB | ▼ 44.16% |