Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▲0.05ms] Passed 4 tests
Analyzing server-side resources used by NFT Maker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 46.42 ▲6.31 |
Dashboard /wp-admin | 3.93 ▲0.58 | 54.14 ▼7.63 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 52.07 ▲4.81 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.57 | 87.51 ▼1.87 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 41.31 ▲4.91 |
Server storage [IO: ▲7.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 158 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_tatum_lazy_nft |
wp_tatum_prepared_nft |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
tatum_db_version |
widget_recent-posts |
widget_tatumreact-demo |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for NFT Maker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲107 | 14.37 ▲0.01 | 2.02 ▲0.47 | 46.60 ▲5.55 |
Dashboard /wp-admin | 2,253 ▲73 | 5.65 ▼0.01 | 96.07 ▲10.29 | 42.49 ▲2.00 |
Posts /wp-admin/edit.php | 2,154 ▲57 | 2.00 ▲0.01 | 33.43 ▼0.52 | 34.56 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.40 ▲0.37 | 667.97 ▲7.84 | 53.31 ▼2.37 |
Media Library /wp-admin/upload.php | 1,448 ▲45 | 4.28 ▲0.01 | 106.43 ▲10.20 | 39.55 ▼4.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_tatumreact-demo
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 29× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/tatum/inc/base/others/fallback-php-version.php
- > /wp-content/plugins/tatum/vendor/tatum/utils/src/Service.php
- > /wp-content/plugins/tatum/vendor/tatum/utils/src/PackageLocalization.php
- > /wp-content/plugins/tatum/inc/base/Core.php
- > /wp-content/plugins/tatum/inc/Localization.php
- > /wp-content/plugins/tatum/inc/view/menu/Page.php
- > /wp-content/plugins/tatum/inc/base/others/fallback-rest-api.php
- > /wp-content/plugins/tatum/inc/Assets.php
- > /wp-content/plugins/tatum/vendor/tatum/utils/src/Localization.php
- > /wp-content/plugins/tatum/inc/Activator.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/tatum/vendor/tatum/nft-maker/vendor/kornrunner/keccak/test/KeccakTest.php:10
- > PHP Fatal error
Trait 'Hathoriel\ftMaker\\Utils\\UtilsProvider' not found in wp-content/plugins/tatum/vendor/tatum/nft-maker/src/Services/SetupService.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/tatum/vendor/kornrunner/keccak/test/KeccakTest.php:10
- > PHP Fatal error
Trait 'Hathoriel\ftMaker\\Utils\\UtilsProvider' not found in wp-content/plugins/tatum/vendor/tatum/nft-maker/src/Connectors/DbConnector.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Donate link: Invalid url: "lukas.kotol@gmail.com"
- Tags: There are too many tags (11 tag instead of maximum 10)
tatum/index.php 92% from 13 tests
Analyzing the main PHP file in "NFT Maker" version 2.0.37
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("tatum.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin9,505 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 7 | 1,586 | 0 | 4,556 |
PHP | 66 | 729 | 1,663 | 3,744 |
JSON | 8 | 0 | 0 | 813 |
JavaScript | 11 | 0 | 66 | 269 |
PO File | 1 | 3 | 5 | 36 |
XML | 1 | 4 | 0 | 29 |
CSS | 2 | 2 | 9 | 21 |
SVG | 3 | 0 | 0 | 20 |
YAML | 2 | 4 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 14 | |
Classes | 37 | |
▷ Abstract classes | 1 | 2.70% |
▷ Concrete classes | 36 | 97.30% |
▷ Final classes | 2 | 5.56% |
Methods | 354 | |
▷ Static methods | 63 | 17.80% |
▷ Public methods | 288 | 81.36% |
▷ Protected methods | 27 | 7.63% |
▷ Private methods | 39 | 11.02% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 36 | |
▷ Global constants | 14 | 38.89% |
▷ Class constants | 22 | 61.11% |
▷ Public constants | 12 | 54.55% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/header-overview.png | 7.67KB | 3.25KB | ▼ 57.70% |
public/assets/tatum.png | 1.06KB | 0.43KB | ▼ 58.87% |