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.02MB] [CPU: ▼7.81ms] Passed 4 tests
This is a short check of server-side resources used by Simpler Syntax Highlighter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.99 ▼4.89 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.30 ▼4.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.27 ▲0.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.65 ▼22.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.38 ▲0.27 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Simpler Syntax Highlighter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲65 | 14.28 ▼0.14 | 2.78 ▲0.86 | 37.95 ▼5.53 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.05 | 89.49 ▼5.01 | 39.70 ▼1.70 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.02 | 41.08 ▲3.68 | 37.18 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.23 ▲0.28 | 695.94 ▲31.39 | 51.87 ▼1.85 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.15 ▼0.07 | 101.84 ▼1.66 | 48.93 ▲6.56 |
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
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simpler-syntax-highlighter/simpler-syntax-highlighter.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (PHP Syntax Highlighting Sample), #2 (View Code in Plain Text), #3 (About Simple Syntax Highlighting)
simpler-syntax-highlighter/simpler-syntax-highlighter.php 77% from 13 tests
The main file in "Simpler Syntax Highlighter" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 304 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,195 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 219 | 381 | 1,014 |
CSS | 1 | 29 | 6 | 150 |
PHP | 1 | 9 | 13 | 30 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 15.64KB | 8.08KB | ▼ 48.35% |
assets/icon-256x256.png | 9.51KB | 4.20KB | ▼ 55.89% |
screenshot-2.png | 8.69KB | 4.88KB | ▼ 43.81% |
assets/icon-128x128.png | 5.16KB | 2.67KB | ▼ 48.22% |
screenshot-3.png | 10.29KB | 5.77KB | ▼ 43.97% |