- 
		Home
	
- 
Revive Social – Social Media Auto Post and Scheduling Automation Plugin
- 
9.3.3 (latest)
- 
Code
- 
Classes
-  Rop_Mastodon_Service 
		
			
				
					
													
								
																			
											| Total Complexity | 110 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 2 | 
																	
							 
													
								
																			
											| Total lines | 963 | 
																			
											| Lines of code | 568 | 
																			
											| Logical lines of code | 275 | 
																	
							 
													
								
																			
											| Comment lines | 285 | 
																			
											| Methods | 27 | 
																			
											| Properties | 5 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| share() | B | 37 | 18 | 75 | 
					
				| upload_media() | A | 42 | 8 | 51 | 
					
				| get_content_type() | A | 51 | 9 | 25 | 
					
				| request_api_access_token() | A | 46 | 8 | 38 | 
					
				| request_api_token() | S | 47 | 6 | 36 | 
					
				| mastodon_media_post() | S | 51 | 6 | 26 | 
					
				| request_new_post() | S | 49 | 5 | 31 | 
					
				| get_user_accounts() | S | 51 | 5 | 28 | 
					
				| get_oauth_url() | S | 53 | 5 | 23 | 
					
				| get_users() | S | 53 | 5 | 22 | 
					
				| authorize() | S | 54 | 5 | 21 | 
					
				| sign_in_url() | S | 57 | 5 | 18 | 
					
				| authenticate() | S | 46 | 3 | 46 | 
					
				| add_account_with_app() | S | 47 | 3 | 42 | 
					
				| maybe_authenticate() | S | 52 | 3 | 29 | 
					
				| get_api_endpoint() | S | 68 | 2 | 7 | 
					
				| str_encrypt() | S | 67 | 2 | 7 | 
					
				| str_decrypt() | S | 67 | 2 | 7 | 
					
				| mastodon_article_post() | S | 66 | 2 | 8 | 
					
				| init() | S | 75 | 1 | 4 | 
					
				| expose_endpoints() | S | 76 | 1 | 4 | 
					
				| get_api() | S | 83 | 1 | 3 | 
					
				| set_api() | S | 83 | 1 | 3 | 
					
				| set_credentials() | S | 81 | 1 | 3 | 
					
				| get_service() | S | 82 | 1 | 3 | 
					
				| mastodon_text_post() | S | 72 | 1 | 5 | 
					
				| populate_additional_data() | S | 82 | 1 | 3 |