Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.21ms] Passed 4 tests
Analyzing server-side resources used by Fotomoto
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.02 ▼8.60 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.67 ▼15.29 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.77 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 96.70 ▼10.92 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.62 ▼6.02 |
Fotomoto /wp-admin/options-general.php?page=fotomoto | 3.35 | 36.54 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_fotomoto_categorymeta |
New WordPress options |
---|
db_upgraded |
fotomoto_options |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Fotomoto: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.02 | 1.66 ▼0.09 | 40.22 ▼6.24 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.04 | 97.23 ▲7.88 | 43.17 ▼3.51 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.08 | 39.43 ▲4.23 | 36.88 ▼1.92 |
Add New Post /wp-admin/post-new.php | 1,529 ▲4 | 23.81 ▲0.26 | 659.33 ▲6.15 | 60.34 ▲10.40 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.14 ▼0.04 | 98.85 ▼14.46 | 44.18 ▼9.50 |
Fotomoto /wp-admin/options-general.php?page=fotomoto | 1,169 | 2.05 | 41.54 | 54.81 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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)
Even though no errors were found, 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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function fotomoto_get_option() in wp-content/plugins/fotomoto/options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/fotomoto/fotomoto.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_userdata() in wp-content/plugins/fotomoto/site_key.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
fotomoto/fotomoto.php Passed 13 tests
The main file in "Fotomoto" v. 1.2.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
15 characters long description:
Fotomoto Plugin
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
There were no executable files found in this plugin705 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 91 | 8 | 663 |
CSS | 1 | 4 | 0 | 22 |
JavaScript | 1 | 5 | 2 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
No PNG files were detected