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
Install script ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▲0.94ms] Passed 4 tests
Analyzing server-side resources used by SyntaxHighlighter Evolved
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 40.44 ▼0.09 |
Dashboard /wp-admin | 3.65 ▲0.34 | 49.13 ▼0.58 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 51.17 ▲3.09 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 96.68 ▲9.44 |
Media Library /wp-admin/upload.php | 3.57 ▲0.33 | 37.19 ▲1.34 |
SyntaxHighlighter /wp-admin/options-general.php?page=syntaxhighlighter | 3.54 | 34.33 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 108 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SyntaxHighlighter Evolved
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.55 ▼1.10 | 1.75 ▼0.39 | 41.84 ▼5.75 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.97 | 104.28 ▼16.09 | 42.19 ▼1.60 |
Posts /wp-admin/edit.php | 2,093 ▲25 | 2.06 ▲0.01 | 40.17 ▲3.63 | 35.42 ▲1.81 |
Add New Post /wp-admin/post-new.php | 6,363 ▲4,849 | 27.64 ▲10.15 | 945.52 ▲246.52 | 46.11 ▼12.06 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.02 | 96.52 ▼4.70 | 41.69 ▼6.87 |
SyntaxHighlighter /wp-admin/options-general.php?page=syntaxhighlighter | 1,591 | 2.23 | 53.50 | 45.22 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/syntaxhighlighter/syntaxhighlighter.php:1847
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
10 plugin tags: highlighting, code, sourcecode, source, wordpresscom...
syntaxhighlighter/syntaxhighlighter.php 92% from 13 tests
The main file in "SyntaxHighlighter Evolved" v. 3.6.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 220 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin8,391 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 26 | 251 | 628 | 4,506 |
JavaScript | 68 | 446 | 1,458 | 2,584 |
PHP | 1 | 277 | 273 | 1,301 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 191.00 |
▷ Minimum class complexity | 191.00 |
▷ Maximum class complexity | 191.00 |
Average method complexity | 6.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
syntaxhighlighter2/styles/magnifier.png | 0.55KB | 0.60KB | 0.00% |
syntaxhighlighter2/styles/help.png | 0.72KB | 0.82KB | 0.00% |
syntaxhighlighter2/styles/printer.png | 0.66KB | 0.77KB | 0.00% |
syntaxhighlighter2/styles/page_white_code.png | 0.54KB | 0.59KB | 0.00% |
syntaxhighlighter2/styles/page_white_copy.png | 0.25KB | 0.34KB | 0.00% |