Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼148.88ms] Passed 4 tests
A check of server-side resources used by Thinktag Link Theme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 40.82 ▲18.81 |
Dashboard /wp-admin | 3.07 ▲0.01 | 59.45 ▼2.48 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 52.22 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 106.29 ▼580.14 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.49 ▼14.54 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Thinktag Link Theme: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,863 ▲267 | 17.42 ▲1.85 | 19.92 ▲9.26 | 46.25 ▼4.10 |
Dashboard /wp-admin | 2,967 ▲36 | 5.83 ▼0.14 | 153.28 ▲9.90 | 113.70 ▼11.66 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.81 ▲0.12 | 72.04 ▲1.37 | 97.17 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,683 ▲183 | 18.76 ▲0.18 | 392.13 ▼1.67 | 121.11 ▲4.04 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▼0.03 | 156.80 ▼1.64 | 130.50 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linktheme/linktheme.php:76
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (See the youtube video https://www.youtube.com/watch?v=TJ0fU4ieK4U)
linktheme/linktheme.php 85% from 13 tests
The main file in "Thinktag Link Theme" v. 1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1")
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
Success! There were no dangerous files found in this plugin57 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 9 | 54 |
JavaScript | 2 | 1 | 47 | 2 |
CSS | 1 | 0 | 11 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow-prev.png | 6.10KB | 2.46KB | ▼ 59.59% |
images/shadow-top-forward.png | 2.78KB | 0.56KB | ▼ 79.70% |
images/arrow-next.png | 6.33KB | 2.55KB | ▼ 59.78% |
images/shadow-top-back.png | 2.79KB | 0.56KB | ▼ 79.76% |
images/shadow.png | 5.42KB | 3.93KB | ▼ 27.43% |