Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'app_creator_rewrites' not found or invalid function name
Server metrics [RAM: ▲0.01MB] [CPU: ▲2.44ms] Passed 4 tests
Server-side resources used by Create my Apps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.79 ▲4.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.87 ▲2.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.11 ▼0.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.01 ▲3.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.90 ▲3.80 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Create my Apps: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.31 ▼0.21 | 4.61 ▲2.95 | 40.21 ▼3.05 |
Dashboard /wp-admin | 2,203 ▼0 | 5.78 ▼0.11 | 97.56 ▼10.96 | 37.98 ▼6.06 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▲0.02 | 38.88 ▼0.22 | 33.15 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.40 ▲5.79 | 683.53 ▲80.11 | 52.43 ▼7.37 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.03 | 97.19 ▲2.40 | 45.94 ▲2.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-my-apps/app-creator.php:49
- > PHP Fatal error
Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/create-my-apps/models/posts.php:8
- > PHP Fatal error
Uncaught Error: Class 'App_Creator_Default' not found in wp-content/plugins/create-my-apps/models/categories.php: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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (88 tag instead of maximum 10)
create-my-apps/app-creator.php 92% from 13 tests
The principal PHP file in "Create my Apps" v. 1.2.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("create-my-apps.php" instead of "app-creator.php")
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
Everything looks great! No dangerous files found in this plugin168 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 58 | 43 | 168 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 66.67% |
▷ Protected methods | 3 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin