Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.55MB] [CPU: ▲2.36ms] Passed 4 tests
An overview of server-side resources used by Datasets Manager by Arttia Creative
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 42.94 ▼2.22 |
Dashboard /wp-admin | 3.87 ▲0.57 | 55.82 ▲4.87 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 53.42 ▲6.19 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 95.45 ▲3.25 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 40.08 ▲3.54 |
Upload Relations CSV /wp-admin/edit.php?post_type=datasets&page=upload-homologs-relations | 3.72 | 39.24 |
All Data Sets /wp-admin/edit.php?post_type=datasets | 3.84 | 38.78 |
Species /wp-admin/edit-tags.php?taxonomy=species&post_type=datasets | 3.73 | 37.03 |
Add New Data set /wp-admin/post-new.php?post_type=datasets | 3.89 | 51.18 |
Group /wp-admin/edit-tags.php?taxonomy=group&post_type=datasets | 3.73 | 38.35 |
Server storage [IO: ▲2.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 31 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_dataset_aliases_meta |
wp_dataset_filtered_homologs |
wp_dataset_genes |
wp_dataset_meta |
wp_dataset_aliases |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Datasets Manager by Arttia Creative
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲212 | 21.86 ▲7.51 | 113.80 ▲112.02 | 47.30 ▲3.51 |
Dashboard /wp-admin | 2,236 ▲59 | 5.52 ▼0.11 | 85.89 ▼11.73 | 40.05 ▼4.52 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.02 ▲0.05 | 38.94 ▼1.18 | 33.02 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,563 ▲36 | 23.15 ▲0.03 | 633.33 ▲7.65 | 49.69 ▼6.48 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.20 ▲0.08 | 107.51 ▲10.25 | 44.55 ▲2.30 |
Upload Relations CSV /wp-admin/edit.php?post_type=datasets&page=upload-homologs-relations | 937 | 2.03 | 26.15 | 33.70 |
All Data Sets /wp-admin/edit.php?post_type=datasets | 1,120 | 2.40 | 37.47 | 29.24 |
Species /wp-admin/edit-tags.php?taxonomy=species&post_type=datasets | 1,303 | 2.12 | 26.61 | 30.56 |
Add New Data set /wp-admin/post-new.php?post_type=datasets | 2,373 | 4.65 | 96.64 | 41.68 |
Group /wp-admin/edit-tags.php?taxonomy=group&post_type=datasets | 1,293 | 2.12 | 29.35 | 28.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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
- The uninstall procedure failed, leaving 5 tables in the database
- wp_dataset_aliases
- wp_dataset_aliases_meta
- wp_dataset_genes
- wp_dataset_meta
- wp_dataset_filtered_homologs
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: dataset_object in wp-content/plugins/datasets-manager-by-arttia-creative/templates/shortcode.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/datasets-manager-by-arttia-creative/templates/admin/fields.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function get_species() on null in wp-content/plugins/datasets-manager-by-arttia-creative/templates/shortcode.php:20
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in datasets-manager-by-arttia-creative/assets to your readme.txt
datasets-manager-by-arttia-creative/datasets-manager-by-arttia-creative.php 69% from 13 tests
The entry point to "Datasets Manager by Arttia Creative" version 1.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
- Requires PHP: Required version does not match the one declared in readme.txt ("5.4" instead of "7.0")
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected4,867 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 532 | 986 | 3,557 |
JavaScript | 7 | 125 | 49 | 1,034 |
CSS | 4 | 47 | 5 | 276 |
PHP code Passed 2 tests
A short review of 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.33 |
Average class complexity | 33.12 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 168.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 7 | 8.97% |
▷ Public methods | 60 | 76.92% |
▷ Protected methods | 3 | 3.85% |
▷ Private methods | 15 | 19.23% |
Functions | 60 | |
▷ Named functions | 43 | 71.67% |
▷ Anonymous functions | 17 | 28.33% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin