Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/joemobi/models/attachment.php+24
Methods with the same name as their class will not be constructors in a future version of PHP; JOEMOBI_API_Attachment has a deprecated constructor
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.11ms] Passed 4 tests
This is a short check of server-side resources used by JoeMobi - Create your own Native Mobile App
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.12 ▼6.46 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.21 ▼4.86 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.63 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.29 ▼9.70 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.30 ▼0.85 |
JoeMobi /wp-admin/options-general.php?page=joemobi-api | 3.21 | 30.73 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for JoeMobi - Create your own Native Mobile App
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲34 | 13.16 ▼1.51 | 4.90 ▲2.88 | 44.66 ▲0.92 |
Dashboard /wp-admin | 2,210 ▲31 | 4.83 ▼1.04 | 106.60 ▲5.52 | 39.57 ▲0.91 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.04 | 33.82 ▼6.59 | 32.66 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 23.31 ▼0.09 | 683.81 ▲48.05 | 64.20 ▲2.29 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.19 ▼0.01 | 94.59 ▼11.85 | 41.59 ▼2.54 |
JoeMobi /wp-admin/options-general.php?page=joemobi-api | 1,212 | 2.16 | 24.62 | 27.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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 | 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/joemobi/joemobi-api.php:135
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/joemobi/joemobi_v1.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% 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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Find the JoeMobi plugin under Settings.), #2 (The default set up only includes Posts. If you have custom post types, they will appear here - make sure to include them if you want them to show up in your app.), #3 (Latest Posts is the first screen users see when they open your app.), #4 (The Article screen displays the complete post.), #5 (View and add comments to a post.), #6 (Browse posts by Category.), #7 (Browse posts by Tag.), #8 (Search posts for keywords.), #9 (View analytics for your app on the JoeMobi member portal.)
joemobi/joemobi-api.php 85% from 13 tests
The entry point to "JoeMobi - Create your own Native Mobile App" version 2.10 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("joemobi.php" instead of "joemobi-api.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,429 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 564 | 756 | 2,429 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 118 | 94.40% |
▷ Protected methods | 7 | 5.60% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
10 compressed PNG files occupy 0.26MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 6.77KB | 6.73KB | ▼ 0.55% |
screenshot-5.png | 28.99KB | 28.65KB | ▼ 1.16% |
screenshot-8.png | 39.68KB | 38.61KB | ▼ 2.70% |
screenshot-4.png | 27.80KB | 26.79KB | ▼ 3.65% |
screenshot-7.png | 17.86KB | 17.15KB | ▼ 3.97% |