Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.84ms] Passed 4 tests
An overview of server-side resources used by Easy Prism Syntax Highlighter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.80 ▼0.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.00 ▲1.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 41.43 ▼4.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.88 ▼2.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.53 ▲0.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Prism Syntax Highlighter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.48 ▼0.27 | 1.98 ▼0.03 | 43.98 ▼1.37 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▲1.00 | 105.93 ▼9.96 | 41.27 ▼1.64 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.00 ▼0.00 | 33.51 ▼2.62 | 34.50 ▼1.37 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.43 ▲0.11 | 672.35 ▲21.74 | 55.21 ▼4.62 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.00 | 97.95 ▼1.23 | 42.73 ▲1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: syntax, prism, highlight, code
easy-prism-syntax-highlighter/easy-prism-syntax-highlighter.php 85% from 13 tests
The main PHP file in "Easy Prism Syntax Highlighter" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/lang")
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
There were no executable files found in this plugin350 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 31 | 8 | 167 |
PHP | 2 | 20 | 126 | 70 |
JavaScript | 2 | 1 | 2 | 59 |
Markdown | 1 | 19 | 0 | 29 |
CoffeeScript | 1 | 1 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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 images were found in this plugin