Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/jsonld-semantic-tags/classes/ST_Taxonomy.php+457
syntax error, unexpected end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.33ms] Passed 4 tests
Analyzing server-side resources used by JSONLD Semantic Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 32.49 ▲9.86 |
Dashboard /wp-admin | 3.06 ▲0.00 | 44.41 ▲2.54 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 45.38 ▼4.93 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 88.83 ▼573.19 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 30.17 ▼1.73 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by JSONLD Semantic Tags
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.79 ▲0.23 | 10.74 ▲1.17 | 48.90 ▲1.11 |
Dashboard /wp-admin | 2,970 ▲40 | 6.05 ▲0.11 | 131.59 ▼29.02 | 113.06 ▼1.09 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.01 | 61.78 ▼0.80 | 92.25 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,504 ▼90 | 18.52 ▼0.17 | 363.59 ▼17.64 | 110.53 ▲8.48 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.03 ▲0.04 | 157.27 ▲12.17 | 115.61 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/jsonld-semantic-tags/templates/settings.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/jsonld-semantic-tags/classes/ST_Taxonomy.php on line 457
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/jsonld-semantic-tags/classes/ST_Taxonomy.php on line 457
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/jsonld-semantic-tags/classes/ST_Widget.php:3
- > PHP Parse error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
6 plugin tags: semantic, jsonld, tagging, citation, tag...
jsonld-semantic-tags/jsonld-semantic-tags.php Passed 13 tests
The entry point to "JSONLD Semantic Tags" version 1.1.2 is a PHP file that has certain tags in its header comment area
55 characters long description:
Allows you to create semantic tags for posts and pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin609 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 197 | 225 | 531 |
Markdown | 1 | 36 | 0 | 63 |
CSS | 2 | 4 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 14 | 48.28% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin