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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.29MB] [CPU: ▼15.08ms] Passed 4 tests
An overview of server-side resources used by Auto MS CreatorID
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.00 | 34.62 ▼13.89 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.57 ▼1.24 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.87 ▲4.05 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.25 | 45.79 ▼49.24 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.34 ▲4.24 |
Auto MS Creator ID /wp-admin/options-general.php?page=auto-ms-creator-id | 3.24 | 31.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Auto MS CreatorID
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.16 ▼1.27 | 1.68 ▼0.50 | 43.95 ▼0.17 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.09 | 105.47 ▼11.06 | 40.55 ▼4.22 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.04 | 39.94 ▼2.96 | 35.65 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,523 ▼19 | 23.25 ▲5.13 | 669.26 ▲16.20 | 52.56 ▼4.17 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.22 ▲0.03 | 97.74 ▼11.74 | 44.51 ▲1.24 |
Auto MS Creator ID /wp-admin/options-general.php?page=auto-ms-creator-id | 789 | 2.03 | 24.86 | 27.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/auto-ms-creator-id/autoMSCreatorId.php:14
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: ms, creator id
auto-ms-creator-id/autoMSCreatorId.php 85% from 13 tests
Analyzing the main PHP file in "Auto MS CreatorID" version 1.0.3
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-ms-creator-id.php" instead of "autoMSCreatorId.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected180 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 22 | 180 |
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.37 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
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
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